Sha256: 34128968fa5f468ecb17a4a3b9323fca5a3ccd76ff18ac275de27a192548f7ae

Contents?: true

Size: 508 Bytes

Versions: 5

Compression:

Stored size: 508 Bytes

Contents

require "spec_helper"

describe Ecommerce::Configuration do

  it "uses the production Ecommerce URL by default" do
    expect(subject.url).to eq "https://ecommerce.myfreecomm.com.br"
  end

  it "uses a default user agent" do
    expect(subject.user_agent).to eq "Ecommerce Ruby Client v#{Ecommerce::VERSION}"
  end

  it "uses ecommerce token as nil by default" do
    expect(subject.token).to be_nil
  end

  it "uses ecommerce secret as nil by default" do
    expect(subject.secret).to be_nil
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecommerce-client-0.0.5 spec/ecommerce/configuration_spec.rb
ecommerce-client-0.0.4 spec/ecommerce/configuration_spec.rb
ecommerce-client-0.0.3 spec/ecommerce/configuration_spec.rb
ecommerce-client-0.0.2 spec/ecommerce/configuration_spec.rb
ecommerce-client-0.0.1 spec/ecommerce/configuration_spec.rb