lib/generators/admin/scaffold/templates/system_test.rb.tt in administration-zero-0.0.13 vs lib/generators/admin/scaffold/templates/system_test.rb.tt in administration-zero-0.0.14
- old
+ new
@@ -6,10 +6,10 @@
@<%= singular_table_name %> = <%= fixture_name %>(:one)
end
test "visiting the index" do
visit <%= index_helper(type: :url) %>
- assert_selector "h2", text: "<%= human_name.pluralize %>"
+ assert_selector "h1", text: "<%= human_name.pluralize %>"
end
test "should create <%= human_name.downcase %>" do
visit <%= index_helper(type: :url) %>
click_on "New <%= human_name.downcase %>"