Sha256: d10f66f4e13bf91fe4148734174cb365a1328dbb5f1d023a41dab1bbb9ec0e1f

Contents?: true

Size: 502 Bytes

Versions: 32

Compression:

Stored size: 502 Bytes

Contents

Feature: named routes

  Routing specs have access to named routes.

  Scenario: access 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 examples should all pass

Version data entries

32 entries across 27 versions & 4 rubygems

Version Path
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/features/routing_specs/named_routes.feature
rspec-rails-2.11.4 features/routing_specs/named_routes.feature
gem_repackager-0.1.0 support/gems/rspec-rails-2.11.0/features/routing_specs/named_routes.feature
rspec-rails-2.11.0 features/routing_specs/named_routes.feature
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/features/routing_specs/named_routes.feature
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/features/routing_specs/named_routes.feature
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/features/routing_specs/named_routes.feature
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/features/routing_specs/named_routes.feature
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/features/routing_specs/named_routes.feature
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/features/routing_specs/named_routes.feature
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/features/routing_specs/named_routes.feature
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/features/routing_specs/named_routes.feature
rails-uploader-0.0.4 vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/features/routing_specs/named_routes.feature
sunrise-cms-0.3.0.rc vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/features/routing_specs/named_routes.feature
sunrise-cms-0.3.0.rc vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/features/routing_specs/named_routes.feature
rails-uploader-0.0.1 vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/features/routing_specs/named_routes.feature
rspec-rails-2.10.1 features/routing_specs/named_routes.feature
rspec-rails-2.10.0 features/routing_specs/named_routes.feature
rspec-rails-2.9.0 features/routing_specs/named_routes.feature
rspec-rails-2.9.0.rc2 features/routing_specs/named_routes.feature