mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Fix default argument assignment for Ruby 2.2
This commit is contained in:
parent
18b772f311
commit
a9c8c228bc
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue