Sha256: a937846484677b4180cd6f32b2a6bed8baede8fdc4a500e79a49586c4efb655b

Contents?: true

Size: 1.38 KB

Versions: 1

Compression:

Stored size: 1.38 KB

Contents

Feature: integrate with Rails

  Background:
    When I generate a new rails application
    And  I copy the generic app files from the support folder into the generated app
    And  I configure the application to use the view_models gem from this project
    And  I configure the application to use the following gems
      | Name                  | Version   | Require | Condition               |
      | factory_girl_rails    | ~> 4.3.0  |         |                         |
      | factory_girl          | ~> 4.3.0  |         |                         |
      | cucumber-rails        | ~> 1.4.0  | false   |                         |
      | rspec-rails           | ~> 2.14.1 |         |                         |
      | capybara              | ~> 2.2.0  |         |                         |
      | slim-rails            | ~> 2.0.4  |         |                         |
      | rubysl                | ~> 2.0    |         | if RUBY_ENGINE == 'rbx' |
      | rubysl-test-unit      | ~> 2.0    |         | if RUBY_ENGINE == 'rbx' |
      | racc                  | ~> 1.4    |         | if RUBY_ENGINE == 'rbx' |
      
    And  I successfully run `bundle install`
    And  I successfully run `bundle exec rake db:migrate`
    
  Scenario:
    When I successfully run `bundle exec rake cucumber`
    Then the output should contain "2 scenarios (2 passed)"
    And the output should contain "17 steps (17 passed)"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
view_models-4.0.1 features/rails_integration.feature