spec/rack/oauth2/server/resource/mac/error_spec.rb in rack-oauth2-1.21.2 vs spec/rack/oauth2/server/resource/mac/error_spec.rb in rack-oauth2-1.21.3
- old
+ new
@@ -10,11 +10,11 @@
its(:scheme) { should == :MAC }
end
describe '#finish' do
it 'should use MAC scheme' do
- status, header, response = error.finish
- header['WWW-Authenticate'].should =~ /^MAC /
+ status, headers, response = error.finish
+ headers['WWW-Authenticate'].should =~ /^MAC /
end
end
end
describe Rack::OAuth2::Server::Resource::MAC::ErrorMethods do
\ No newline at end of file