Permalink
Browse files

Fix argument name in fixtures method

Relatedo to 8e44c93.
  • Loading branch information...
1 parent 8e44c93 commit e68abc2c967d67a15fd99247bd00547d8bd3170d @carlosantoniodasilva carlosantoniodasilva committed Dec 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/fixtures.rb
@@ -751,7 +751,7 @@ def set_fixture_class(class_names = {})
self.fixture_class_names = self.fixture_class_names.merge(class_names.stringify_keys)
end
- def fixtures(*fixture_names)
+ def fixtures(*fixture_set_names)
if fixture_set_names.first == :all
fixture_set_names = Dir["#{fixture_path}/**/*.{yml}"]
fixture_set_names.map! { |f| f[(fixture_path.size + 1)..-5] }

0 comments on commit e68abc2

Please sign in to comment.