Sha256: 7730ecfbc185d5946f446a7886713c09b82c6e4bf3ffcd2de6128e79fc3735b4

Contents?: true

Size: 491 Bytes

Versions: 7

Compression:

Stored size: 491 Bytes

Contents

require 'spec_helper'

describe GnipApi::Configuration do
  describe '#new' do
    it 'has the default values' do
      config = GnipApi::Configuration.new

      expect(config.user).to eq(nil)
      expect(config.password).to eq(nil)
      expect(config.account).to eq(nil)
      expect(config.adapter_class).to eq(GnipApi::Adapters::HTTPartyAdapter)
      expect(config.logger).not_to eq(nil)
      expect(config.source).to eq(nil)
      expect(config.label).to eq(nil)
    end
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gnip_api-1.0.1 spec/gnip_api/configuration_spec.rb
gnip_api-1.0.0 spec/gnip_api/configuration_spec.rb
gnip_api-0.0.9 spec/gnip_api/configuration_spec.rb
gnip_api-0.0.8 spec/gnip_api/configuration_spec.rb
gnip_api-0.0.7 spec/gnip_api/configuration_spec.rb
gnip_api-0.0.6 spec/gnip_api/configuration_spec.rb
gnip_api-0.0.5 spec/gnip_api/configuration_spec.rb