Skip to content

Commit

Permalink
create_fixtures doesn't work since at least a94220b:
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
Edouard-chin committed Dec 11, 2017
1 parent a80f81a commit e6ef1a7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions railties/lib/rails/test_help.rb
Expand Up @@ -29,10 +29,6 @@ class TestCase
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:
Expand Down

0 comments on commit e6ef1a7

Please sign in to comment.