Sha256: 5e42df9387aa672e760f936dc521e7dd6d2e67f3219d2d548c939b4186a14f6f
Contents?: true
Size: 799 Bytes
Versions: 1
Compression:
Stored size: 799 Bytes
Contents
require 'spec_helper' describe "OmniAuth Namba" do subject do OmniAuth::Strategies::Namba.new(nil, @options || {}) end it 'should add a camelization for itself' do OmniAuth::Utils.camelize('namba').should == 'Namba' end it 'should has correct Namba site' do subject.options.client_options.site.should eq('http://api.namba.kg') end it 'should has correct request token path' do subject.options.client_options.request_token_path.should eq('/oauth/request_token.php') end it 'should has correct access token path' do subject.options.client_options.access_token_path.should eq('/oauth/access_token.php') end it 'should has correct authorize url' do subject.options.client_options.authorize_url.should eq('http://login.namba.kg/login2.php') end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
omniauth-namba-0.0.1 | spec/omniauth/strategies/namba_spec.rb |