assert_requested doesn't work if used outside rspec or test/unit #58

Closed
bblimke opened this Issue Nov 6, 2010 · 1 comment

Comments

Projects
None yet
1 participant
Owner

bblimke commented Nov 6, 2010

require 'webmock'
WebMock.assert_requested(:get, "www.example.com")
NoMethodError: undefined method `new' for nil:NilClass

Owner

bblimke commented Nov 8, 2010

Fixed in master and will be released in 1.6.0

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment