Permalink
Browse files

make @bitsweat happy. ❤️

  • Loading branch information...
1 parent e1cbd42 commit 7a30bb112f81eec318d181d4c10f5ced58e4c082 @tenderlove tenderlove committed Sep 9, 2013
Showing with 6 additions and 0 deletions.
  1. +6 −0 activerecord/test/cases/fixtures_test.rb
@@ -84,6 +84,12 @@ def test_create_symbol_fixtures
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"])

1 comment on commit 7a30bb1

Member

sikachu commented on 7a30bb1 Sep 10, 2013

But this commit message makes me sad 😢

Please sign in to comment.