aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2012-05-09 19:01:03 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2012-05-09 19:01:03 -0700
commit42a14c436c50f8c0ab57ef336e5fab77030107c0 (patch)
treefefc81ee6402e984f2aed7fada4e74731349f051 /activerecord/test
parentea40990f4b64e4518d9f34e3d3101d2480217e19 (diff)
parent12ceb4581aeef1638b9e38545210bd0004adbb8f (diff)
downloadrails-42a14c436c50f8c0ab57ef336e5fab77030107c0.tar.gz
rails-42a14c436c50f8c0ab57ef336e5fab77030107c0.tar.bz2
rails-42a14c436c50f8c0ab57ef336e5fab77030107c0.zip
Merge pull request #4254 from alexeymuranov/my-nicify-fixtures-rb
Rename variables and remove unused code in fixtures.rb
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/cases/helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/helper.rb b/activerecord/test/cases/helper.rb
index 345ae0b582..20279f814b 100644
--- a/activerecord/test/cases/helper.rb
+++ b/activerecord/test/cases/helper.rb
@@ -80,8 +80,8 @@ class ActiveSupport::TestCase
self.use_instantiated_fixtures = false
self.use_transactional_fixtures = true
- def create_fixtures(*table_names, &block)
- ActiveRecord::Fixtures.create_fixtures(ActiveSupport::TestCase.fixture_path, table_names, fixture_class_names, &block)
+ def create_fixtures(*fixture_set_names, &block)
+ ActiveRecord::Fixtures.create_fixtures(ActiveSupport::TestCase.fixture_path, fixture_set_names, fixture_class_names, &block)
end
end