Sha256: ea5b1984fc07725a22290f5261fca989df8c59b62fb24e5dfad8cf583c463203
Contents?: true
Size: 713 Bytes
Versions: 1
Compression:
Stored size: 713 Bytes
Contents
require 'spec_helper' describe OmniAuth::Strategies::Paymill do subject do args = ['appid', 'secret', @options || {}].compact OmniAuth::Strategies::Paymill.new(*args) end describe 'client options' do it 'should have correct name' do expect(subject.options.name).to eq('paymill') end it 'should have correct site' do expect(subject.options.client_options.site).to eq('https://connect.paymill.com') end it 'should have correct authorize url' do expect(subject.options.client_options.authorize_url).to eq('/authorize') end it 'should have correct token url' do expect(subject.options.client_options.token_url).to eq('/token') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
omniauth-paymill-0.0.1 | spec/omniauth/paymill_spec.rb |