Sha256: bdf823aa75b7556bc44872fd77e1e986b2befbc40ff64fa821119c92641998e7
Contents?: true
Size: 538 Bytes
Versions: 3
Compression:
Stored size: 538 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
3 entries across 1 versions & 1 rubygems