Sha256: 546251887b30a3f3f75363242cc95b782355521dbdc1ffd8aaf4787ac19bbc46

Contents?: true

Size: 538 Bytes

Versions: 4

Compression:

Stored size: 538 Bytes

Contents

Feature: Routing

  Scenario: Visit undefined route
    Given I have created a new Rails 3 app with no database and installed cucumber-rails
    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 "ActionController::RoutingError"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cucumber-rails-1.3.1 features/routing.feature
cucumber-rails-1.3.0 features/routing.feature
cucumber-rails-1.2.1 features/routing.feature
cucumber-rails-1.2.0 features/routing.feature