spec/rack/oauth2/server/authorize/code_spec.rb in rack-oauth2-0.14.6 vs spec/rack/oauth2/server/authorize/code_spec.rb in rack-oauth2-0.14.7
- old
+ new
@@ -24,17 +24,17 @@
end
context 'when redirect_uri is missing' do
let(:redirect_uri) { nil }
it do
- expect { response }.should raise_error AttrRequired::AttrMissing
+ expect { response }.to raise_error AttrRequired::AttrMissing
end
end
context 'when code is missing' do
let(:authorization_code) { nil }
it do
- expect { response }.should raise_error AttrRequired::AttrMissing
+ expect { response }.to raise_error AttrRequired::AttrMissing
end
end
end
context 'when denied' do
\ No newline at end of file