Module: FactoryGirl

Defined in:
lib/fg-quickgenerate.rb

Defined Under Namespace

Classes: Sequence

Class Method Summary collapse

Class Method Details

.create_simple_sequence(name, string) ⇒ Object



25
26
27
28
# File 'lib/fg-quickgenerate.rb', line 25

def self.create_simple_sequence(name, string)
  sequence = Sequence.simple(name, string)
  FactoryGirl.register_sequence(sequence)
end