Sha256: faa9f0b76623478815ced617443f4f11680526872d579e4d7e65d0a8beec36c7
Contents?: true
Size: 680 Bytes
Versions: 2
Compression:
Stored size: 680 Bytes
Contents
require "spec_helper" # # routes # /index.cfm(.:format) {:controller=>"legacy", :action=>"index"} # /listingid=:id(.:format) {:id=>/[0-9]+/, :controller=>"legacy", :action=>"listingid"} # describe "legacy response status codes" do describe "GET /index.cfm(.:format)" do it "should have a response", :vcr do format = nil get "/index#{format ? "." : nil}cfm.#{format}" response.status.should be(200) end end describe "GET /listingid=:id(.:format)" do it "should have a response", :vcr do id = "REPLACE" format = nil get "/listingid=#{id}#{format ? "." : nil}#{format}" response.status.should be(200) end end end
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
routespec-0.0.1 | test/sandbox/requests/legacy/legacy_spec.rb |
routespec-0.0.1 | test/sandbox/requests2/legacy/legacy_spec.rb |