Sha256: 64a0acf81fd4abf17b8929bd6ebcbc57e215b9c2e757686bd6842914816ac110
Contents?: true
Size: 569 Bytes
Versions: 4
Compression:
Stored size: 569 Bytes
Contents
require File.expand_path('../../../spec_helper', __FILE__) describe OmniAuth::Strategies::Meetup do it_should_behave_like 'an oauth strategy' it 'should use the authenticate (sign in) path 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 path 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
Version data entries
4 entries across 4 versions & 2 rubygems