Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

minor fix in sequence macro

  • Loading branch information...
commit be7ac28ffa308375b820ccdf139b1970a9697961 1 parent f387e38
@kristianmandrup kristianmandrup authored joshuaclayton committed
Showing with 1 addition and 3 deletions.
  1. +1 −3 lib/factory_girl/syntax/default.rb
View
4 lib/factory_girl/syntax/default.rb
@@ -36,9 +36,7 @@ def sequence(name, start_value = 1, &block)
# define aliased sequence
# - register multiple sequences with same logic but different identifying names
def sequences(*names, &block)
- names.each do |name|
- FactoryGirl.register_sequence(Sequence.new(names, &block))
- end
+ FactoryGirl.register_sequence(Sequence.new(names, &block))
end
def trait(name, &block)
Please sign in to comment.
Something went wrong with that request. Please try again.