From a9c8c228bc99d5da385b31f46ee1191c07cf355b Mon Sep 17 00:00:00 2001 From: Thibaut Date: Sun, 28 Dec 2014 13:50:09 -0500 Subject: [PATCH] Fix default argument assignment for Ruby 2.2 --- test/lib/docs/core/request_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/docs/core/request_test.rb b/test/lib/docs/core/request_test.rb index 51ef922a..a5a9e48c 100644 --- a/test/lib/docs/core/request_test.rb +++ b/test/lib/docs/core/request_test.rb @@ -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