Skip to content

Commit

Permalink
rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
mnoack committed Oct 10, 2016
1 parent 95a1651 commit 5594e30
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
11 changes: 6 additions & 5 deletions test/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,12 @@ def initialize
end

class TestHelper
def self.last_url(url)
@@url = url
end
def self.last_url
@@url
def self.last_url(url = nil)
if url
@@url = url
else
@@url
end
end
end

Expand Down
7 changes: 4 additions & 3 deletions test/vcr_loader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
c.hook_into :webmock # or :fakeweb
# Yahoo BOSS Ignore changing params
c.default_cassette_options = {
match_requests_on: [:method,
match_requests_on: [
:method,
VCR.request_matchers.uri_without_params(
:oauth_nonce, :oauth_timestamp, :oauth_signature
),
],
)
]
}
end

0 comments on commit 5594e30

Please sign in to comment.