Sha256: b0476c0649a12070a012d0e1de2e143b641e03187faf4fdc442f1038b4338077

Contents?: true

Size: 645 Bytes

Versions: 1

Compression:

Stored size: 645 Bytes

Contents

require 'spec_helper'

describe OmniAuth::Strategies::DeviantArt do
  subject do
    OmniAuth::Strategies::DeviantArt.new({})
  end

  context "client options" do
    it 'should have correct site' do
      subject.options.client_options.site.should eq("https://www.deviantart.com/oauth2/draft15")
    end

    it 'should have correct authorize url' do
      subject.options.client_options.authorize_url.should eq('https://www.deviantart.com/oauth2/draft15/authorize')
    end

    it 'should have correct token url' do
      subject.options.client_options.token_url.should eq('https://www.deviantart.com/oauth2/draft15/token')
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
omniauth-deviantart-0.0.1 spec/omniauth/strategies/deviantart_spec.rb