diff options
Diffstat (limited to 'test/spec_rack_response.rb')
-rw-r--r-- | test/spec_rack_response.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/spec_rack_response.rb b/test/spec_rack_response.rb index eb59b5c2..7989013d 100644 --- a/test/spec_rack_response.rb +++ b/test/spec_rack_response.rb @@ -118,6 +118,9 @@ context "Rack::Response" do r = Rack::Response.new([], 500) r.status.should.equal 500 + + r = Rack::Response.new([], "200 OK") + r.status.should.equal 200 end specify "has a constructor that can take a block" do |