Skip to content

Commit a137835

Browse files
Fix tests
1 parent 068d57a commit a137835

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/uploader_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@
627627
end
628628

629629
it "should fail if timeout is reached" do
630-
expect { Cloudinary::Uploader.upload(Pathname.new(TEST_IMG), :tags => [TEST_TAG, TIMESTAMP_TAG]) }.to raise_error(Faraday::ConnectionFailed)
630+
expect { Cloudinary::Uploader.upload(Pathname.new(TEST_IMG), :tags => [TEST_TAG, TIMESTAMP_TAG]) }.to raise_error(Faraday::ConnectionFailed).or raise_error(Faraday::TimeoutError)
631631
end
632632

633633
it "should allow passing nil value" do

0 commit comments

Comments
 (0)