Fix default argument assignment for Ruby 2.2

This commit is contained in:
Thibaut 2014-12-28 13:50:09 -05:00
parent 18b772f311
commit a9c8c228bc

View file

@ -6,7 +6,7 @@ class DocsRequestTest < MiniTest::Spec
'http://example.com'
end
def request(url = url, options = {})
def request(url = self.url, options = {})
Docs::Request.new(url, options).tap do |request|
request.extend FakeInstrumentation
end