spec/omniauth/strategies/linkedin_oauth2_spec.rb in omniauth-linkedin-oauth2-0.1.2 vs spec/omniauth/strategies/linkedin_oauth2_spec.rb in omniauth-linkedin-oauth2-0.1.3
- old
+ new
@@ -19,9 +19,13 @@
it 'has correct token url' do
subject.client.options[:token_url].should eq('https://www.linkedin.com/uas/oauth2/accessToken')
end
+ it 'has correct token url' do
+ subject.client.options[:token_method].should eq(:get)
+ end
+
it 'posts params using the :query mode' do
subject.options.token_params[:mode].should == :query
end
end