Sha256: db441fca22fb6e4d13be1b7e70ada2439a63443e7efce61945181624e17fc39c

Contents?: true

Size: 471 Bytes

Versions: 2

Compression:

Stored size: 471 Bytes

Contents

require "spec_helper"

#
# routes
#  dynamic_controller /:controller/render_event_response(.:format) {:action=>"render_event_response"}
#
describe "dynamic response status codes" do
  describe "GET /:controller/render_event_response(.:format)" do
    it "should have a response", :vcr do
      controller = "REPLACE"
      format = nil
      get dynamic_controller_path(:controller => controller, :format => 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/dynamic/dynamic_spec.rb
routespec-0.0.1 test/sandbox/requests2/dynamic/dynamic_spec.rb