diff options
author | Chris Walters <cw@opscode.com> | 2010-10-08 11:53:36 -0700 |
---|---|---|
committer | Chris Walters <cw@opscode.com> | 2010-10-08 11:53:36 -0700 |
commit | fe5cd0116d13982557fdc92355e493e3849a5e0e (patch) | |
tree | 362a7b62280757494cb1bb122d6b9b224c15c301 /spec/mixlib | |
parent | 1e8166c156932d6916df9a04a6e151446cfc7ee3 (diff) | |
download | mixlib-authentication-fe5cd0116d13982557fdc92355e493e3849a5e0e.tar.gz |
Fixing spec tests
Diffstat (limited to 'spec/mixlib')
-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 |