Skip to content

Commit

Permalink
Fix argument name in fixtures method
Browse files Browse the repository at this point in the history
Relatedo to 8e44c93.
  • Loading branch information
carlosantoniodasilva committed Dec 18, 2012
1 parent 8e44c93 commit e68abc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/fixtures.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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] }
Expand Down

0 comments on commit e68abc2

Please sign in to comment.