Permalink
Browse files

Check that we set the HTTP response 'message'.

  • Loading branch information...
1 parent 9eedd4d commit a977db0e54548a4b654580a41407c335832aa5b5 @mdub committed Mar 25, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 spec/sham_rack_spec.rb
View
@@ -160,6 +160,10 @@
@response.code.should == "201"
end
+ it "has status message returned by app" do
+ @response.message.should == "Created"
+ end
+
it "has body returned by app" do
@response.body.should == "BODY"
end

0 comments on commit a977db0

Please sign in to comment.