spec/motion/http_spec.rb in bubble-wrap-1.4.0 vs spec/motion/http_spec.rb in bubble-wrap-1.5.0.rc1

- old
+ new

@@ -42,10 +42,10 @@ end it "works with classic blocks as well" do [:get, :post, :put, :delete, :head, :patch].each do |method| called = false - query = BubbleWrap::HTTP.send(method, @localhost_url, { action: 'not_valid' } ) do |response| + query = BubbleWrap::HTTP.send(method, @localhost_url, { action: 'not_valid' } ) do called = true end query.connectionDidFinishLoading(query.connection) called.should.equal true end