Fixing TripIt spec.
This commit is contained in:
parent
53380b934d
commit
9549d1a8a6
|
@ -1,13 +1,13 @@
|
||||||
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
|
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
|
||||||
|
|
||||||
describe 'OmniAuth::Strategies::Tripit' do
|
describe 'OmniAuth::Strategies::TripIt' do
|
||||||
|
|
||||||
it 'should subclass OAuth' do
|
it 'should subclass OAuth' do
|
||||||
OmniAuth::Strategies::Tripit.should < OmniAuth::Strategies::OAuth
|
OmniAuth::Strategies::TripIt.should < OmniAuth::Strategies::OAuth
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'should initialize with just consumer key and secret' do
|
it 'should initialize with just consumer key and secret' do
|
||||||
lambda{OmniAuth::Strategies::Tripit.new({},'abc','def')}.should_not raise_error
|
lambda{OmniAuth::Strategies::TripIt.new({},'abc','def')}.should_not raise_error
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
Loading…
Reference in New Issue