Sha256: 0b29a5dffd6f97f64c44d500e7370e47f22093a599c9ba48d9db26d07cbf1f29

Contents?: true

Size: 500 Bytes

Versions: 10

Compression:

Stored size: 500 Bytes

Contents

Feature: access to named routes in routing specs

  Scenario: access existing named route
    Given a file named "spec/routing/widget_routes_spec.rb" with:
      """
      require "spec_helper"

      describe "routes to the widgets controller" do
        it "routes a named route" do
          {:get => new_widget_path}.should route_to(:controller => "widgets", :action => "new")
        end
      end
      """
    When I run "rspec spec"
    Then the output should contain "1 example, 0 failures"

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rspec-rails-2.3.1 features/routing_specs/access_to_named_routes.feature
rspec-rails-2.3.0 features/routing_specs/access_to_named_routes.feature
rspec-rails-2.2.1 features/routing_specs/access_to_named_routes.feature
rspec-rails-2.2.0 features/routing_specs/access_to_named_routes.feature
rspec-rails-2.1.0 features/routing_specs/access_to_named_routes.feature
rspec-rails-2.0.1 features/routing_specs/access_to_named_routes.feature
rspec-rails-2.0.0 features/routing_specs/access_to_named_routes.feature
rspec-rails-2.0.0.rc features/routing_specs/access_to_named_routes.feature
rspec-rails-2.0.0.beta.22 features/routing_specs/access_to_named_routes.feature
rspec-rails-2.0.0.beta.20 features/routing_specs/access_to_named_routes.feature