Sha256: e589c11284f3311fc40b5bea1df18c6d0787e7fcb740b1aa3d24a70636bb08fe
Contents?: true
Size: 536 Bytes
Versions: 1
Compression:
Stored size: 536 Bytes
Contents
require "spec_helper" # # routes <% @routes.each do |route| %> # <%= route.raw %> <% end %> # describe "<%= @name %> response status codes" do <% @routes.each do |route| %> describe "<%= route.http_verb %> <%= route.path %>" do it "should have a response", :vcr do <% if route.vars %> <% route.vars.each do |var| %> <%= var %> <% end %> <% end %> <%= route.http_verb.downcase %> <%= route.helper_path %> response.status.should be(<%= route.status_code %>) end end <% end %> end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
routespec-0.0.1 | test/files/response_code_vcr_spec.erb |