mirror of
https://github.com/omniauth/omniauth.git
synced 2022-11-09 12:31:49 -05:00
Fix to TripIt spec.
This commit is contained in:
parent
53380b934d
commit
6818ff8916
1 changed files with 13 additions and 0 deletions
13
oa-oauth/spec/omniauth/strategies/trip_it_spec.rb
Normal file
13
oa-oauth/spec/omniauth/strategies/trip_it_spec.rb
Normal file
|
@ -0,0 +1,13 @@
|
|||
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
|
||||
|
||||
describe 'OmniAuth::Strategies::TripIt' do
|
||||
|
||||
it 'should subclass OAuth' do
|
||||
OmniAuth::Strategies::TripIt.should < OmniAuth::Strategies::OAuth
|
||||
end
|
||||
|
||||
it 'should initialize with just consumer key and secret' do
|
||||
lambda{OmniAuth::Strategies::TripIt.new({},'abc','def')}.should_not raise_error
|
||||
end
|
||||
|
||||
end
|
Loading…
Add table
Reference in a new issue