Sha256: cda9093b640ba98d4205293e61dfa46f67a70c1fc6e3bf8fc36890c06107105f
Contents?: true
Size: 254 Bytes
Versions: 2
Compression:
Stored size: 254 Bytes
Contents
require 'rfuzz/session' include RFuzz context "Rails Should Redirect" do setup do @client = HttpClient.new("localhost","3000") end specify "with 302" do res = @client.get("/test/redirect") res.http_status.should_equal "302" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rfuzz-0.8 | examples/mongrel_test_suite/test/rails/redirect.rb |
rfuzz-0.9 | examples/mongrel_test_suite/test/rails/redirect.rb |