aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/helper.rb
diff options
context:
space:
mode:
authorAlexey Muranov <alexey.muranov@gmail.com>2012-01-01 18:54:52 +0100
committerAlexey Muranov <alexey.muranov@gmail.com>2012-05-09 18:46:13 +0200
commit12ceb4581aeef1638b9e38545210bd0004adbb8f (patch)
treeac1a1898c6f4ef873f9dbbf20a64b9e8904145ab /activerecord/test/cases/helper.rb
parentcaeca1f69b3a6f25248390daa37561cf2cbd8cd6 (diff)
downloadrails-12ceb4581aeef1638b9e38545210bd0004adbb8f.tar.gz
rails-12ceb4581aeef1638b9e38545210bd0004adbb8f.tar.bz2
rails-12ceb4581aeef1638b9e38545210bd0004adbb8f.zip
Rename some variables
Rename some parameters and instance and local variables, mostly in fixtures.rb. Also remove an unused assignment to an instance variable. There are minor code changes.
Diffstat (limited to 'activerecord/test/cases/helper.rb')
-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