Skip to content

Commit ce34db5

Browse files
committed
Fixed some indentation issues in output html
1 parent 4a95e4e commit ce34db5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/unit/components/attributes_table_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
describe ActiveAdmin::Views::AttributesTable do
44
include Arbre::HTML
5+
let(:assigns){ {} }
56

67
describe "creating with the dsl" do
78
let(:helpers) { action_view }
@@ -72,7 +73,7 @@
7273
current_row.find_by_tag("th").first.content.should == title
7374
end
7475
it "should have the content '#{set[1]}'" do
75-
current_row.find_by_tag("td").first.content.should == content
76+
current_row.find_by_tag("td").first.content.chomp.strip.should == content
7677
end
7778
end
7879
end

0 commit comments

Comments
 (0)