diff options
author | Matt Kasa <mkasa@baent.net> | 2014-03-07 19:37:41 -0800 |
---|---|---|
committer | Matt Kasa <mkasa@baent.net> | 2014-03-07 19:37:41 -0800 |
commit | 7fe910e0063388e2f636724925bd5f8b9905cc89 (patch) | |
tree | 4a00bb694b9b9f344706a7ac9caf879c7c174367 /test/spec_response.rb | |
parent | ce4a3959a5be68684c447ce68c626d0cc84f8c1a (diff) | |
download | rack-7fe910e0063388e2f636724925bd5f8b9905cc89.tar.gz |
Add support for RFC2324 status code
Diffstat (limited to 'test/spec_response.rb')
-rw-r--r-- | test/spec_response.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/spec_response.rb b/test/spec_response.rb index 031488bb..6b13c0c9 100644 --- a/test/spec_response.rb +++ b/test/spec_response.rb @@ -251,6 +251,11 @@ describe Rack::Response do res.should.be.client_error res.should.be.method_not_allowed + res.status = 418 + res.should.not.be.successful + res.should.be.client_error + res.should.be.i_m_a_teapot + res.status = 422 res.should.not.be.successful res.should.be.client_error |