Module: FactoryGirl::Syntax

Defined in:
lib/factory_girl/syntax.rb,
lib/factory_girl/syntax/make.rb,
lib/factory_girl/syntax/sham.rb,
lib/factory_girl/syntax/default.rb,
lib/factory_girl/syntax/methods.rb,
lib/factory_girl/syntax/vintage.rb,
lib/factory_girl/syntax/generate.rb,
lib/factory_girl/syntax/blueprint.rb

Overview

Provides alternate syntaxes for factory_girl. If you don’t like the default syntax for defining or using factories, look at one of the FactoryGirl::Syntax modules:

  • FactoryGirl::Syntax::Blueprint: definition syntax similar to Machinist

  • FactoryGirl::Syntax::Generate: usage syntax similar to Object Daddy

  • FactoryGirl::Syntax::Make: usage syntax similar to Machinist

  • FactoryGirl::Syntax::Sham: sequence syntax similar to Machinist

Defined Under Namespace

Modules: Blueprint, Default, Generate, Make, Methods, Sham, Vintage