Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
rubiii committed Mar 27, 2010
1 parent 25c099e commit c641cc1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions spec/savon/response_spec.rb
Expand Up @@ -118,7 +118,6 @@
end

describe "GZipped responses" do

it "should be decoded if Content-encoding header is gzip" do
@response = Savon::Response.new http_response_mock(200, body = "Encoded", "OK", 'content-encoding' => 'gzip')

Expand All @@ -138,12 +137,11 @@

it "should be decoded when header is set" do
@response = Savon::Response.new http_response_mock(200, GzipResponseFixture.message, "OK", 'content-encoding' => 'gzip')

@response.to_xml.should == "A short gzip encoded message\n"
end

it "should be decoded when header is not set" do
@response = Savon::Response.new http_response_mock(200, GzipResponseFixture.message, "OK")

@response.to_xml.should == "A short gzip encoded message\n"
end
end
Expand Down

0 comments on commit c641cc1

Please sign in to comment.