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