spec/reel/connection_spec.rb in reel-0.2.0.pre vs spec/reel/connection_spec.rb in reel-0.2.0
- old
+ new
@@ -75,10 +75,10 @@
end
rescue EOFError
end
crlf = "\r\n"
- fixture = "5#{crlf}Hello5#{crlf}World0#{crlf*2}"
+ fixture = "5#{crlf}Hello#{crlf}5#{crlf}World#{crlf}0#{crlf*2}"
response[(response.length - fixture.length)..-1].should eq fixture
end
end
it "reset the request after a response is sent" do