mirror of
https://github.com/rest-client/rest-client.git
synced 2022-11-09 13:49:40 -05:00
actually assert in spec, and fix result
This commit is contained in:
parent
0b6e74593a
commit
f498c6cf6f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue