diff options
Diffstat (limited to 'spec/unit/client_spec.rb')
-rw-r--r-- | spec/unit/client_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/client_spec.rb b/spec/unit/client_spec.rb index acb5fb7997..9e20058846 100644 --- a/spec/unit/client_spec.rb +++ b/spec/unit/client_spec.rb @@ -441,7 +441,7 @@ EOM context "when required_recipe returns 404" do let(:http_response) { Net::HTTPNotFound.new("1.1", "404", "Not Found") } - let(:http_exception) { Net::HTTPServerException.new('404 "Not Found"', http_response) } + let(:http_exception) { Net::HTTPClientException.new('404 "Not Found"', http_response) } before(:each) do expect(rest).to receive(:get).with("required_recipe").and_raise(http_exception) |