Skip to content

Commit

Permalink
Merge 23ddc6f into 7345c3c
Browse files Browse the repository at this point in the history
  • Loading branch information
harrisred authored Jun 4, 2019
2 parents 7345c3c + 23ddc6f commit ce23660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/support/shared_examples/error_handling.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
end

describe 'response timeout' do
let(:response) { request_stub.to_timeout }
let(:response) { request_stub.to_raise(Timeout::Error) }

it 'raises Skroutz::TimeoutError' do
expect { request }.to raise_error(Skroutz::TimeoutError)
Expand Down

0 comments on commit ce23660

Please sign in to comment.