Sha256: 34190b996d0909f40e82c9c755d6c3f9fd6793c757d8e09c07f83b658a7c7e0f

Contents?: true

Size: 395 Bytes

Versions: 2

Compression:

Stored size: 395 Bytes

Contents

require "helper"

describe "Configuration" do
  it "allows to set custom settings" do
    CentrumFaktur.configure do |config|
      config.login     = "john"
      config.password  = "secret"
      config.subdomain = "john-doe"
    end

    assert_equal "john", CentrumFaktur.login
    assert_equal "secret", CentrumFaktur.password
    assert_equal "john-doe", CentrumFaktur.subdomain
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
centrum_faktur-0.2.2 test/configuration_test.rb
centrum_faktur-0.2.1 test/configuration_test.rb