spec/omniauth/strategies/constantcontact2_spec.rb in omniauth-constantcontact2-1.0.5 vs spec/omniauth/strategies/constantcontact2_spec.rb in omniauth-constantcontact2-1.0.6
- old
+ new
@@ -8,23 +8,23 @@
it_should_behave_like 'an oauth2 strategy'
describe '#client' do
it 'should have the correct Constant Contact site' do
- subject.client.site.should eq("https://oauth2.constantcontact.com")
+ expect(subject.client.site).to eq("https://oauth2.constantcontact.com")
end
it 'should have the correct authorization url' do
- subject.client.options[:authorize_url].should eq("/oauth2/oauth/siteowner/authorize")
+ expect(subject.client.options[:authorize_url]).to eq("/oauth2/oauth/siteowner/authorize")
end
it 'should have the correct token url' do
- subject.client.options[:token_url].should eq('/oauth2/oauth/token')
+ expect(subject.client.options[:token_url]).to eq('/oauth2/oauth/token')
end
end
describe '#callback_path' do
it 'should have the correct callback path' do
- subject.callback_path.should eq('/auth/constantcontact/callback')
+ expect(subject.callback_path).to eq('/auth/constantcontact/callback')
end
end
end