Skip to content

Commit

Permalink
Address rubocop violations.
Browse files Browse the repository at this point in the history
  • Loading branch information
theincognitocoder committed Nov 27, 2018
1 parent fcc2386 commit 864b84d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/rspec/http_helpers/http_querystring_matcher_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ module HttpHelpers

it 'raises an error when the actual value is not a supported type' do
expected = 'foo=bar'
actual = Hash.new
actual = {}
expect do
expect(actual).to match_http_querystring(expected)
end.to raise_error('expected URI with querystring matching foo=bar got Hash')
end

it 'raises an error when the expected value is not a supported type' do
expected = Hash.new
expected = {}
actual = ''
expect do
expect(actual).to match_http_querystring(expected)
Expand Down

0 comments on commit 864b84d

Please sign in to comment.