Sha256: f8787703c33c3aa2124fb4633621f41dab0692ef664a24b24051c96548823791
Contents?: true
Size: 835 Bytes
Versions: 2
Compression:
Stored size: 835 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' config.intercept_text_message_recipient = '+14108675309' config.intercept_push_notification_recipients = ['android::push_recipient'] 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') expect(described_class.configuration.intercept_text_message_recipient).to eq('+14108675309') expect(described_class.configuration.intercept_push_notification_recipients).to eq(['android::push_recipient']) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rumour-ruby-0.1.0 | spec/configuration_spec.rb |
rumour-ruby-0.0.8 | spec/configuration_spec.rb |