Permalink
Browse files

Modify after_http_request scenario to fail

  • Loading branch information...
1 parent 7af62f4 commit 9e2d24eb8f244d0d17687d4f30d3a0c4acc2b5dd @playupchris playupchris committed May 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 features/hooks/after_http_request.feature
View
2 features/hooks/after_http_request.feature
@@ -33,7 +33,7 @@ Feature: after_http_request hook
<configuration>
c.cassette_library_dir = 'cassettes'
c.ignore_localhost = true
- c.after_http_request(lambda { |req| req.uri =~ /foo/ }) do |request, response|
+ c.after_http_request(:ignored?, lambda { |req| req.uri =~ /foo/ }) do |request, response|
puts "Response for #{request.method} #{request.uri}: #{response.body}"
end
end

0 comments on commit 9e2d24e

Please sign in to comment.