aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2013-09-09 14:47:12 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2013-09-09 14:47:12 -0700
commite1cbd4254609ffc2cc9472ce2e7eb46b0dc7bc62 (patch)
tree4890c9ca3c2bf313ff5a96951bbea2d1a9656792 /activerecord
parent1385ae138d701174916a3c44d8bc8b92f3dd3aeb (diff)
downloadrails-e1cbd4254609ffc2cc9472ce2e7eb46b0dc7bc62.tar.gz
rails-e1cbd4254609ffc2cc9472ce2e7eb46b0dc7bc62.tar.bz2
rails-e1cbd4254609ffc2cc9472ce2e7eb46b0dc7bc62.zip
stop using deprecated api in the tests
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/fixtures_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/fixtures_test.rb b/activerecord/test/cases/fixtures_test.rb
index 76516ef92d..22eeb5076c 100644
--- a/activerecord/test/cases/fixtures_test.rb
+++ b/activerecord/test/cases/fixtures_test.rb
@@ -78,7 +78,7 @@ class FixturesTest < ActiveRecord::TestCase
end
def test_create_symbol_fixtures
- fixtures = ActiveRecord::FixtureSet.create_fixtures(FIXTURES_ROOT, :collections, :collections => 'Course') { Course.connection }
+ fixtures = ActiveRecord::FixtureSet.create_fixtures(FIXTURES_ROOT, :collections, :collections => Course) { Course.connection }
assert Course.find_by_name('Collection'), 'course is not in the database'
assert fixtures.detect { |f| f.name == 'collections' }, "no fixtures named 'collections' in #{fixtures.map(&:name).inspect}"