Sha256: 18a989035eef1c699b5dabea092853aa284fbd2ef29f985341116201c41f135d

Contents?: true

Size: 403 Bytes

Versions: 1

Compression:

Stored size: 403 Bytes

Contents

require 'spec_helper'

describe OmniAuth::Artsy::Config do
  describe '#configure' do
    before do
      OmniAuth::Artsy.configure do |config|
        config.artsy_api_url = 'http://localhost:3000/api'
      end
    end
    after do
      OmniAuth::Artsy.config.reset
    end
    it 'sets token' do
      expect(OmniAuth::Artsy.config.artsy_api_url).to eq 'http://localhost:3000/api'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
omniauth-artsy-0.2.1 spec/lib/config_spec.rb