diff options
author | Edouard CHIN <edouard.chin@shopify.com> | 2017-12-11 17:13:46 -0500 |
---|---|---|
committer | Edouard CHIN <edouard.chin@shopify.com> | 2017-12-11 17:22:05 -0500 |
commit | e6ef1a76732b65fa8df2dcca6c7bc43171e4b9a1 (patch) | |
tree | 26d269c8b88a3e4d1dd0d7fcdb7c5cedf2e95082 /railties/lib/rails | |
parent | a80f81af055f02bf4625c90470aa90441cf6fc24 (diff) | |
download | rails-e6ef1a76732b65fa8df2dcca6c7bc43171e4b9a1.tar.gz rails-e6ef1a76732b65fa8df2dcca6c7bc43171e4b9a1.tar.bz2 rails-e6ef1a76732b65fa8df2dcca6c7bc43171e4b9a1.zip |
`create_fixtures` doesn't work since at least a94220b66c9e4890007f66b092b25f8a64a19d31:
- The namespacing should be `ActiveRecord::FixtureSet`
- I might be missing something but I'm not sure why `create_fixtures` is useful for nowaday (unless for testing rails internal /shrug) and since it's been that long it wasn't working I think it should be fine to just fire it
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/test_help.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/railties/lib/rails/test_help.rb b/railties/lib/rails/test_help.rb index 732c5c1e1f..76c28ac85e 100644 --- a/railties/lib/rails/test_help.rb +++ b/railties/lib/rails/test_help.rb @@ -29,10 +29,6 @@ if defined?(ActiveRecord::Base) end ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path - - def create_fixtures(*fixture_set_names, &block) - FixtureSet.create_fixtures(ActiveSupport::TestCase.fixture_path, fixture_set_names, {}, &block) - end end # :enddoc: |