Unified · Split
| @@ -6,7 +6,7 @@ class DocsRequestTest < MiniTest::Spec · 5 unmodified lines | |||
| 6 | 'http://example.com' | 6 | 'http://example.com' |
| 7 | end | 7 | end |
| 8 | 8 | ||
| 9 | def request(url = url, options = {}) | 9 | def request(url = self.url, options = {}) |
| 10 | Docs::Request.new(url, options).tap do |request| | 10 | Docs::Request.new(url, options).tap do |request| |
| 11 | request.extend FakeInstrumentation | 11 | request.extend FakeInstrumentation |
| 12 | end | 12 | end |