thoughtbot--factory_bot/spec/factory_girl
Joshua Clayton dc32fd69e8 Change syntax for ignoring attributes to use block syntax instead of
calling ignore on individual declarations.

Old syntax:

    factory :user do
      rockstar(true).ignore
      four { 2 + 2 }.ignore

      name { "John Doe#{" - Rockstar" if rockstar}" }
    end

New syntax:

    factory :user do
      ignore do
        rockstar true
        four     { 2 + 2 }
      end

      name { "John Doe#{" - Rockstar" if rockstar}" }
    end
2011-10-09 16:46:57 -04:00
..
attribute Change syntax for ignoring attributes to use block syntax instead of 2011-10-09 16:46:57 -04:00
declaration Introduce declarations 2011-09-23 13:14:02 -04:00
proxy Use objects, not structs 2011-09-16 17:48:06 -04:00
aliases_spec.rb Clean up attribute and core factory specs 2011-08-19 17:21:14 -04:00
attribute_list_spec.rb Change syntax for ignoring attributes to use block syntax instead of 2011-10-09 16:46:57 -04:00
attribute_spec.rb Change syntax for ignoring attributes to use block syntax instead of 2011-10-09 16:46:57 -04:00
callback_spec.rb Use objects, not structs 2011-09-16 17:48:06 -04:00
definition_proxy_spec.rb Change syntax for ignoring attributes to use block syntax instead of 2011-10-09 16:46:57 -04:00
deprecated_spec.rb Suggestions 2011-08-19 17:22:10 -04:00
factory_spec.rb Change syntax for ignoring attributes to use block syntax instead of 2011-10-09 16:46:57 -04:00
find_definitions_spec.rb Clean up attribute and core factory specs 2011-08-19 17:21:14 -04:00
proxy_spec.rb Use objects, not structs 2011-09-16 17:48:06 -04:00
registry_spec.rb Clean up attribute and core factory specs 2011-08-19 17:21:14 -04:00
sequence_spec.rb Clean up attribute and core factory specs 2011-08-19 17:21:14 -04:00