Sha256: 9f249f688ea8f72b1ed6caf56262e7f1c8d8e3f56c9bc7308bb2cf7561178051

Contents?: true

Size: 669 Bytes

Versions: 7

Compression:

Stored size: 669 Bytes

Contents

Feature:
  In order to easily generate factory files instead of fixture files when generating models
  As a user of Rails3 and factory_girl
  I would like to use factory_girl_rails generators.

  Scenario: The factory_girl_rails generators create a factory file
  for each model that I generate
    When I successfully run `bundle exec rails new testapp`
    And I cd to "testapp"
    And I add "factory_girl_rails" from this project as a dependency
    When I successfully run `bundle install`
    And I successfully run `bundle exec rails generate model User name:string --fixture-replacement=factory_girl`
    Then the output should contain "test/factories/users.rb"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
factory_girl_rails-1.7.0 features/generators.feature
factory_girl_rails-1.6.0 features/generators.feature
factory_girl_rails-1.5.0 features/generators.feature
factory_girl_rails-1.4.0 features/generators.feature
factory_girl_rails-1.3.0 features/generators.feature
factory_girl_rails-1.2.0 features/generators.feature
factory_girl_rails-1.1.0 features/generators.feature