Sha256: e1e3a00cd3136b6e8acd5394ae648519ec4fb32f5e77ea2e5cb603ea43fed5f1
Contents?: true
Size: 673 Bytes
Versions: 1
Compression:
Stored size: 673 Bytes
Contents
require 'spec_helper' describe OmniAuth::Strategies::Toshl do subject do OmniAuth::Strategies::Toshl.new({}) end context 'general' do it 'should be called toshl' do subject.options.name.should eq('toshl') end end context 'endpoints' do it 'has correct site' do subject.options.client_options.site.should eq('https://api.toshl.com') end it 'has correct authorize_url' do subject.options.client_options.authorize_url.should eq('https://toshl.com/oauth2/authorize') end it 'has correct token_url' do subject.options.client_options.token_url.should eq('https://toshl.com/oauth2/token') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
omniauth-toshl-0.0.1 | spec/omniauth/strategies/toshl_spec.rb |