summary refs log tree commit
path: root/test/spec_response.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/spec_response.rb')
-rw-r--r--test/spec_response.rb5
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