Fix to TripIt spec.
This commit is contained in:
Родитель
53380b934d
Коммит
6818ff8916
|
@ -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
|
Загрузка…
Ссылка в новой задаче