Sha256: ddacda72948e5451da83864272b1aab0be6cb682842a8abba8213603c0547d71
Contents?: true
Size: 583 Bytes
Versions: 3
Compression:
Stored size: 583 Bytes
Contents
Feature: Raise Errors Scenario: Raise error for undefined route Given I have created a new Rails app with no database and installed cucumber-rails When I write to "features/home.feature" with: """ Feature: Tests Scenario: Tests When I go to the home page """ And I write to "features/home_steps.rb" with: """ When('I go to the home page') do visit('/') end """ And I run `bundle exec cucumber` Then it should fail with: """ 1 scenario (1 failed) 1 step (1 failed) """
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cucumber-rails-2.2.0 | features/raising_errors.feature |
cucumber-rails-2.1.0 | features/raising_errors.feature |
cucumber-rails-2.0.0 | features/raising_errors.feature |