require 'spec_helper' describe OmniAuth::Strategies::Meetup do it_should_behave_like 'an oauth strategy' it 'should use the authenticate (sign in) URL by default' do s = strategy_class.new(app, 'abc', 'def') s.consumer.options[:authorize_path].should == 'http://www.meetup.com/authenticate' end it 'should use the authorize URL if :sign_in is false' do s = strategy_class.new(app, 'abc', 'def', :sign_in => false) s.consumer.options[:authorize_path].should == 'http://www.meetup.com/authorize' end end