Sha256: 2e4f3bd7e9cf9b47382cb5136f197536f1fb90b2343463658902a411f78567de
Contents?: true
Size: 472 Bytes
Versions: 2
Compression:
Stored size: 472 Bytes
Contents
require 'spec_helper' describe OmniAuth::Artsy::Config do describe '#configure' do before do expect(OmniAuth::Artsy).to receive(:reconfigure_strategy).once 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
omniauth-artsy-0.2.3 | spec/lib/config_spec.rb |
omniauth-artsy-0.2.2 | spec/lib/config_spec.rb |