Sha256: f6b3d5ce944282837a384aadb0382c2e9d15c4bfeba66670fb0e0b925cd87161

Contents?: true

Size: 414 Bytes

Versions: 4

Compression:

Stored size: 414 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)
    end
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gnip_api-0.0.4 spec/gnip_api/configuration_spec.rb
gnip_api-0.0.3 spec/gnip_api/configuration_spec.rb
gnip_api-0.0.2 spec/gnip_api/configuration_spec.rb
gnip_api-0.0.1 spec/gnip_api/configuration_spec.rb