Skip to content

Commit 4ee91c4

Browse files
committed
Webmock caught up to my tests
1 parent e5e8f00 commit 4ee91c4

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

spec/rack/reverse_proxy_spec.rb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,9 @@ def app
103103

104104
if %w|put post|.include?(method)
105105
it "should forward the request payload" do
106-
pending "valid test with next release of WebMock" do
107-
stub_request(method.to_sym, 'http://example.com/test').to_return { |req| {:body => req.body} }
108-
eval "#{method} '/test', {:test => 'test'}"
109-
last_response.body.should == "test=test"
110-
end
106+
stub_request(method.to_sym, 'http://example.com/test').to_return { |req| {:body => req.body} }
107+
eval "#{method} '/test', {:test => 'test'}"
108+
last_response.body.should == "test=test"
111109
end
112110
end
113111
end

0 commit comments

Comments
 (0)