diff options
-rw-r--r-- | spec/mixlib/authentication/http_authentication_request_spec.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/mixlib/authentication/http_authentication_request_spec.rb b/spec/mixlib/authentication/http_authentication_request_spec.rb index 563f8cc..8305de5 100644 --- a/spec/mixlib/authentication/http_authentication_request_spec.rb +++ b/spec/mixlib/authentication/http_authentication_request_spec.rb @@ -82,8 +82,7 @@ describe Mixlib::Authentication::HTTPAuthenticationRequest do it "raises an error when not all required headers are given" do @merb_headers.delete("HTTP_X_OPS_SIGN") exception = Mixlib::Authentication::MissingAuthenticationHeader - auth_req = Mixlib::Authentication::HTTPAuthenticationRequest.new(@request) - lambda {auth_req.validate_headers!}.should raise_error(exception) + lambda{ Mixlib::Authentication::HTTPAuthenticationRequest.new(@request) }.should raise_error(exception) end it "extracts the path from the request" do @@ -126,4 +125,4 @@ SIG @http_authentication_request.request_signature.should == expected.chomp end -end
\ No newline at end of file +end |