spec/client_spec.rb in em-http-request-1.1.1 vs spec/client_spec.rb in em-http-request-1.1.2
- old
+ new
@@ -40,10 +40,10 @@
http = EventMachine::HttpRequest.new('http://127.0.0.1:8090').get
http.callback {
http.response.should match(/Hello/)
EventMachine.stop
}
- }.should_not raise_error(ArgumentError)
+ }.should_not raise_error
}
end
it "should raise error on invalid URL" do