Fix default argument assignment for Ruby 2.2

pull/165/head
Thibaut 10 years ago
parent 18b772f311
commit a9c8c228bc

@ -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

Loading…
Cancel
Save