Skip to content

Commit

Permalink
Add earlier checks to show when the bundle install within the new rai…
Browse files Browse the repository at this point in the history
…ls app goes wrong
  • Loading branch information
mjankowski committed Dec 20, 2012
1 parent cc92165 commit 976e4a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions features/fixture_replacement_config.feature
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Feature:
Scenario: Using Factory Girl and Factory Girl Rails with RSpec should generate a factory file
When I add "rspec-rails" as a dependency
And I successfully run `bundle install`
Then the output should contain "rspec-rails"
And I successfully run `bundle exec rails generate model User name:string`
Then the following files should exist:
| spec/factories/users.rb |
Expand All @@ -30,6 +31,7 @@ Feature:
When I add "rspec-rails" as a dependency
And I configure the factories directory as "custom/dir"
And I successfully run `bundle install`
Then the output should contain "rspec-rails"
And I successfully run `bundle exec rails generate model User name:string`
Then the following files should not exist:
| test/factories/users.rb |
Expand All @@ -51,6 +53,7 @@ Feature:
When I add "minitest" as a dependency
And I configure the testing framework to use MiniTest
And I successfully run `bundle install`
Then the output should contain "minitest"
And I successfully run `bundle exec rails generate model User name:string`
Then the following files should exist:
| test/factories/users.rb |
Expand All @@ -62,6 +65,7 @@ Feature:
And I add "minitest" as a dependency
And I configure the testing framework to use MiniTest
And I successfully run `bundle install`
Then the output should contain "minitest"
And I successfully run `bundle exec rails generate model User name:string`
Then the following files should exist:
| custom/dir/users.rb |
Expand Down

0 comments on commit 976e4a6

Please sign in to comment.