Sha256: b095604ccd9389f06bd6e889b71b27f39859d1e7bce4e0a9f3fefcb41fc7da83

Contents?: true

Size: 941 Bytes

Versions: 4

Compression:

Stored size: 941 Bytes

Contents

Feature: generate rspec integration tests with application

  Background:
    Given I have a project with clearance and the following gems:
      | gem                |
      | capybara           |
      | rspec-rails        |
      | factory_girl_rails |
      | database_cleaner   |
    And I run `bundle install --local`
    And I successfully run `bundle exec rails generate rspec:install`
    And I successfully run `bundle exec rails generate clearance:specs`

  Scenario: generate a Rails app, run the generators, and run the tests
    And I successfully run `bundle exec rails generate clearance:install`
    Then the output should contain "Next steps"
    When I successfully run `bundle exec rake db:migrate --trace`
    And I successfully run `bundle exec rspec`
    Then the output should contain "Finished"
    And the output should not contain "Failed examples"
    And the output should not contain "Could not find generator"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
clearance-1.0.0.rc7 features/integration_with_rspec.feature
clearance-1.0.0.rc6 features/integration_with_rspec.feature
clearance-1.0.0.rc4 features/integration_with_rspec.feature
clearance-1.0.0.rc3 features/integration_with_rspec.feature