Sha256: 6a7b2f7c67d082366ddc6cf3295cdf4b6cd3b6fd8b8e00fd8f5eeaf57a0387b7

Contents?: true

Size: 988 Bytes

Versions: 15

Compression:

Stored size: 988 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   |

  Scenario: generate a Rails app, run the generators, and run the tests
    When I install dependencies
    And I successfully run `bundle exec rails generate rspec:install`
    And I successfully run `bundle exec rails generate clearance:specs`
    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`
    And I successfully run `bundle exec rake db:test:prepare`
    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

15 entries across 15 versions & 1 rubygems

Version Path
clearance-1.6.1 features/integration_with_rspec.feature
clearance-1.6.0 features/integration_with_rspec.feature
clearance-1.5.1 features/integration_with_rspec.feature
clearance-1.5.0 features/integration_with_rspec.feature
clearance-1.4.3 features/integration_with_rspec.feature
clearance-1.4.2 features/integration_with_rspec.feature
clearance-1.4.1 features/integration_with_rspec.feature
clearance-1.4.0 features/integration_with_rspec.feature
clearance-1.3.0 features/integration_with_rspec.feature
clearance-1.2.1 features/integration_with_rspec.feature
clearance-1.2.0 features/integration_with_rspec.feature
clearance-1.1.0 features/integration_with_rspec.feature
clearance-1.0.1 features/integration_with_rspec.feature
clearance-1.0.0 features/integration_with_rspec.feature
clearance-1.0.0.rc8 features/integration_with_rspec.feature