pusher/pusher-gem — pull request #18 by lporras (2012-02-16 04:51:04+00:00)
Title: Using blocks with WebMock's matcher have_requested..with

Hey Guys,

This is something you may not believe but using WebMock's have_request matcher in this way:
```WebMock.should have_requested(..).with do |req| ... end
```
it is skipping the code you have inside. I have tested it using ruby-debug, but you can easily change one of your lines to make break the test and it won't fail I swear :p

So I found that using {} blocks instead of do..end blocks is a way to fix this.