1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

make @bitsweat happy. ❤️

This commit is contained in:
Aaron Patterson 2013-09-09 14:52:21 -07:00
parent e1cbd42546
commit 7a30bb112f

View file

@ -84,6 +84,12 @@ class FixturesTest < ActiveRecord::TestCase
assert fixtures.detect { |f| f.name == 'collections' }, "no fixtures named 'collections' in #{fixtures.map(&:name).inspect}"
end
def test_create_symbol_fixtures_is_deprecated
assert_deprecated do
ActiveRecord::FixtureSet.create_fixtures(FIXTURES_ROOT, :collections, :collections => 'Course') { Course.connection }
end
end
def test_attributes
topics = create_fixtures("topics").first
assert_equal("The First Topic", topics["first"]["title"])