Sha256: d05d775ab5182d066c243acc19b5c2874e584d599c1817a993aa4a51e51bcb19
Contents?: true
Size: 469 Bytes
Versions: 5
Compression:
Stored size: 469 Bytes
Contents
require 'spec_helper' RSpec.describe Rumour do describe '.configure' do before do described_class.configure do |config| config.api_key = 'some_api_key' config.access_token = 'some_access_token' end end it 'assigns the authentication credentials' do expect(described_class.configuration.api_key).to eq('some_api_key') expect(described_class.configuration.access_token).to eq('some_access_token') end end end
Version data entries
5 entries across 5 versions & 1 rubygems