Permalink
Browse files

Squash warnings in spec_auth

  • Loading branch information...
raggi committed Jan 13, 2013
1 parent 933e617 commit 78784f99e351a99541bc0c4d44a16671b83067ed
Showing with 7 additions and 7 deletions.
  1. +7 −7 test/spec_auth.rb
View
@@ -20,32 +20,32 @@
env = Rack::MockRequest.env_for('/')
env['HTTP_AUTHORIZATION'] = 'Basic aXJyZXNwb25zaWJsZQ=='
req = Rack::Auth::AbstractRequest.new(env)
- req.scheme.should == :basic
+ req.scheme.should.equal :basic
env['HTTP_AUTHORIZATION'] = 'Digest aXJyZXNwb25zaWJsZQ=='
req = Rack::Auth::AbstractRequest.new(env)
- req.scheme.should == :digest
+ req.scheme.should.equal :digest
env['HTTP_AUTHORIZATION'] = 'Bearer aXJyZXNwb25zaWJsZQ=='
req = Rack::Auth::AbstractRequest.new(env)
- req.scheme.should == :bearer
+ req.scheme.should.equal :bearer
env['HTTP_AUTHORIZATION'] = 'MAC aXJyZXNwb25zaWJsZQ=='
req = Rack::Auth::AbstractRequest.new(env)
- req.scheme.should == :mac
+ req.scheme.should.equal :mac
env['HTTP_AUTHORIZATION'] = 'Token aXJyZXNwb25zaWJsZQ=='
req = Rack::Auth::AbstractRequest.new(env)
- req.scheme.should == :token
+ req.scheme.should.equal :token
env['HTTP_AUTHORIZATION'] = 'OAuth aXJyZXNwb25zaWJsZQ=='
req = Rack::Auth::AbstractRequest.new(env)
- req.scheme.should == :oauth
+ req.scheme.should.equal :oauth
env['HTTP_AUTHORIZATION'] = 'OAuth2 aXJyZXNwb25zaWJsZQ=='
req = Rack::Auth::AbstractRequest.new(env)
- req.scheme.should == :oauth2
+ req.scheme.should.equal :oauth2
end
it "should not symbolize unknown auth schemes" do

0 comments on commit 78784f9

Please sign in to comment.