thoughtbot--factory_bot/spec
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
..
acceptance Change syntax for ignoring attributes to use block syntax instead of 2011-10-09 16:46:57 -04:00
factory_girl Change syntax for ignoring attributes to use block syntax instead of 2011-10-09 16:46:57 -04:00
support Change syntax for ignoring attributes to use block syntax instead of 2011-10-09 16:46:57 -04:00
factory_girl_spec.rb Clean up attribute and core factory specs 2011-08-19 17:21:14 -04:00
spec_helper.rb When creating a stubbed model, assign created_at 2011-09-02 16:22:53 -04:00