Sha256: c4dcfa1b1e2113c0f206efe96bf90ad0e55f24dcf5828484491bce163feb8b4f

Contents?: true

Size: 392 Bytes

Versions: 3

Compression:

Stored size: 392 Bytes

Contents

require 'spec_helper'

describe Sterling do

  it 'can set the API Version' do
    Sterling.configure do |config|
      config.api_version = '1'
    end

    expect(Sterling.configuration.api_version).to eql('1')
  end

  it 'can set the API Key' do
    Sterling.configure do |config|
      config.api_key = 'abcd'
    end

    expect(Sterling.configuration.api_key).to eql('abcd')
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sterling-1.1.2 spec/sterling/configuration_spec.rb
sterling-1.1.1 spec/sterling/configuration_spec.rb
sterling-1.1.0 spec/sterling/configuration_spec.rb