Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

stop using deprecated api in the tests

  • Loading branch information...
commit e1cbd4254609ffc2cc9472ce2e7eb46b0dc7bc62 1 parent 1385ae1
@tenderlove tenderlove authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/test/cases/fixtures_test.rb
View
2  activerecord/test/cases/fixtures_test.rb
@@ -78,7 +78,7 @@ def test_multiple_clean_fixtures
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}"
Please sign in to comment.
Something went wrong with that request. Please try again.