spec/omniauth/strategies/oauth/twitter_spec.rb in oa-oauth-0.3.0.rc3 vs spec/omniauth/strategies/oauth/twitter_spec.rb in oa-oauth-0.3.0

- old
+ new

@@ -11,12 +11,12 @@ end run lambda { |env| [404, {'Content-Type' => 'text/plain'}, [env.key?('omniauth.auth').to_s]] } }.to_app end - it 'should use the authorize path by default' do + it 'should use the authenticate path by default' do s = strategy_class.new(app, 'abc', 'def') - s.consumer.options[:authorize_path].should == '/oauth/authorize' + s.consumer.options[:authorize_path].should == '/oauth/authenticate' end it 'should set options[:authorize_params] to { :force_login => "true" } if :force_login is true' do s = strategy_class.new(app, 'abc', 'def', :force_login => true) s.options[:authorize_params].should == { :force_login => 'true' }