aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorSergey Nartimov <just.lest@gmail.com>2012-01-26 11:10:52 +0300
committerSergey Nartimov <just.lest@gmail.com>2012-01-26 11:10:52 +0300
commit6e46b3bc27c57cf50cf43d0cbe1344956e5998f3 (patch)
treee09e69ca89eb51cc6fa9611442693154f26a90bd /activerecord/test
parentc6efa0d1c79b6e4e772c86a8ba4a7d064b3419a7 (diff)
downloadrails-6e46b3bc27c57cf50cf43d0cbe1344956e5998f3.tar.gz
rails-6e46b3bc27c57cf50cf43d0cbe1344956e5998f3.tar.bz2
rails-6e46b3bc27c57cf50cf43d0cbe1344956e5998f3.zip
fix fixtures test as table_name is a string now
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/cases/fixtures_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/fixtures_test.rb b/activerecord/test/cases/fixtures_test.rb
index 5c67cbfcce..562b370c97 100644
--- a/activerecord/test/cases/fixtures_test.rb
+++ b/activerecord/test/cases/fixtures_test.rb
@@ -782,7 +782,7 @@ class CustomNameForFixtureOrModelTest < ActiveRecord::TestCase
end
def test_table_name_is_defined_in_the_model
- assert_equal :randomly_named_table, ActiveRecord::Fixtures::all_loaded_fixtures["admin/randomly_named_a9"].table_name
- assert_equal :randomly_named_table, Admin::ClassNameThatDoesNotFollowCONVENTIONS.table_name
+ assert_equal 'randomly_named_table', ActiveRecord::Fixtures::all_loaded_fixtures["admin/randomly_named_a9"].table_name
+ assert_equal 'randomly_named_table', Admin::ClassNameThatDoesNotFollowCONVENTIONS.table_name
end
end