lib/faraday/adapter/mock_request.rb in faraday-0.1.1 vs lib/faraday/adapter/mock_request.rb in faraday-0.1.2
- old
+ new
@@ -56,10 +56,10 @@
true
end
end
def initialize &block
- super nil
+ super
configure(&block) if block
end
def configure
yield stubs