8000 Use dashed class name for new tests introduced in #4938 · javierjulio/activeadmin@64df7d6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 64df7d6

Browse files
committed
Use dashed class name for new tests introduced in activeadmin#4938
New tests were introduced in activeadmin#4938 (commit 155c919) that checked HTML output but we’ve since changed the class names to be dashed, not underscored.
1 parent 5f4bd94 commit 64df7d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/unit/view_helpers/display_helper_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,9 @@ class ThisModel
186186
false
187187
end
188188
true_value = format_attribute post, :true_method
189-
expect(true_value.to_s).to eq "<span class=\"status_tag yes\">Yes</span>\n"
189+
expect(true_value.to_s).to eq "<span class=\"status-tag yes\">Yes</span>\n"
190190
false_value = format_attribute post, :false_method
191-
expect(false_value.to_s).to eq "<span class=\"status_tag no\">No</span>\n"
191+
expect(false_value.to_s).to eq "<span class=\"status-tag no\">No</span>\n"
192192
end
193193

194194
end

0 commit comments

Comments
 (0)
0