Sha256: 00185361c5a6d9184a75e59fc46ea7a65c20c389bc4140c105e36c8438a34d96
Contents?: true
Size: 654 Bytes
Versions: 4
Compression:
Stored size: 654 Bytes
Contents
require 'spec_helper' describe OmniAuth::Strategies::Lastfm do subject do OmniAuth::Strategies::Lastfm.new({}) end context 'client options' do it 'should have the correct name' do subject.options.name.should eq('lastfm') end it 'should have correct site' do subject.options.client_options.site.should eq('http://www.last.fm') end it 'should have correct api url' do subject.options.client_options.api_url.should eq('http://ws.audioscrobbler.com/2.0/') end it 'should have correct authorize path' do subject.options.client_options.authorize_path.should eq('/api/auth') end end end
Version data entries
4 entries across 4 versions & 1 rubygems