From f498c6cf6f8d0eed96cbe5072bbb835ebc254cd5 Mon Sep 17 00:00:00 2001 From: Jon Rowe Date: Wed, 31 Jul 2013 21:57:31 +1000 Subject: [PATCH] actually assert in spec, and fix result --- spec/abstract_response_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/abstract_response_spec.rb b/spec/abstract_response_spec.rb index 964f2cd..599ddcd 100644 --- a/spec/abstract_response_spec.rb +++ b/spec/abstract_response_spec.rb @@ -28,7 +28,7 @@ describe RestClient::AbstractResponse do it "has a nice description" do @net_http_res.should_receive(:to_hash).and_return({'Content-Type' => ['application/pdf']}) @net_http_res.should_receive(:code).and_return('200') - @response.description == '200 OK | application/pdf bytes\n' + @response.description.should eq "200 OK | application/pdf bytes\n" end it "beautifies the headers by turning the keys to symbols" do