We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a95e4e commit ce34db5Copy full SHA for ce34db5
spec/unit/components/attributes_table_spec.rb
@@ -2,6 +2,7 @@
2
3
describe ActiveAdmin::Views::AttributesTable do
4
include Arbre::HTML
5
+ let(:assigns){ {} }
6
7
describe "creating with the dsl" do
8
let(:helpers) { action_view }
@@ -72,7 +73,7 @@
72
73
current_row.find_by_tag("th").first.content.should == title
74
end
75
it "should have the content '#{set[1]}'" do
- current_row.find_by_tag("td").first.content.should == content
76
+ current_row.find_by_tag("td").first.content.chomp.strip.should == content
77
78
79
0 commit comments