Skip to content

Commit 6e46b3b

Browse files
committed
fix fixtures test as table_name is a string now
1 parent c6efa0d commit 6e46b3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

activerecord/test/cases/fixtures_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ def test_named_accessor_for_randomly_named_namespaced_fixture_and_class
782782
end
783783

784784
def test_table_name_is_defined_in_the_model
785-
assert_equal :randomly_named_table, ActiveRecord::Fixtures::all_loaded_fixtures["admin/randomly_named_a9"].table_name
786-
assert_equal :randomly_named_table, Admin::ClassNameThatDoesNotFollowCONVENTIONS.table_name
785+
assert_equal 'randomly_named_table', ActiveRecord::Fixtures::all_loaded_fixtures["admin/randomly_named_a9"].table_name
786+
assert_equal 'randomly_named_table', Admin::ClassNameThatDoesNotFollowCONVENTIONS.table_name
787787
end
788788
end

0 commit comments

Comments
 (0)