Sha256: 2aebb4ac4192f447090ee03318c25741a409c9f842ba5dc775d1bb64c8de0316

Contents?: true

Size: 540 Bytes

Versions: 5

Compression:

Stored size: 540 Bytes

Contents

Feature: Routing

  Scenario: Visit undefined route
    Given a project without ActiveRecord
    And I remove the file "public/index.html"
    And I write to "features/tests.feature" with:
      """
      Feature: Tests
        Scenario: Tests
          When I go to the home page
      """
    And I run `rake cucumber`
    Then it should fail with:
      """
      1 scenario (1 failed)
      1 step (1 failed)
      """
    And the stdout should contain:
       """
       No route matches "/" (ActionController::RoutingError)
       """

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cucumber-rails-0.5.1 features/routing.feature
cucumber-rails-0.5.0 features/routing.feature
cucumber-rails-0.5.0.beta1 features/routing.feature
cucumber-rails-0.4.1 features/routing.feature
cucumber-rails-0.4.0 features/routing.feature