summaryrefslogtreecommitdiff
path: root/spec/unit/provider/remote_file
diff options
context:
space:
mode:
authorNimisha Sharad <nimisha.sharad@msystechnologies.com>2016-09-23 06:32:31 +0530
committerMatt Wrock <matt@mattwrock.com>2016-09-22 18:02:31 -0700
commite67fc3a2f7ca71bd008204e93fa2c37659e1008c (patch)
treed6e686f11480d8be570d7e9d571b3d437ef76287 /spec/unit/provider/remote_file
parent5c1fe121531644bd6e267acb833194711fc9c113 (diff)
downloadchef-e67fc3a2f7ca71bd008204e93fa2c37659e1008c.tar.gz
Handling Errno::ETIMEDOUT (#5358)
* Handling Errno::ETIMEDOUT * spec for Errno::ETIMEDOUT * rubocop fix
Diffstat (limited to 'spec/unit/provider/remote_file')
-rw-r--r--spec/unit/provider/remote_file/content_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/provider/remote_file/content_spec.rb b/spec/unit/provider/remote_file/content_spec.rb
index c6a560b123..db9a75458d 100644
--- a/spec/unit/provider/remote_file/content_spec.rb
+++ b/spec/unit/provider/remote_file/content_spec.rb
@@ -180,6 +180,7 @@ describe Chef::Provider::RemoteFile::Content do
Net::HTTPServerException,
Net::HTTPFatalError,
Net::FTPError,
+ Errno::ETIMEDOUT,
].each do |exception|
describe "with an exception of #{exception}" do
before do