Sha256: f65ce9b8d383633be33cc9b1cf06f7837bdd74b2785d05d987499198aa45a47e

Contents?: true

Size: 363 Bytes

Versions: 2

Compression:

Stored size: 363 Bytes

Contents

require 'test_helper'

describe Corrency do

  it "should have a default vat_rate" do
    Corrency::Config.vat_rate.must_equal Corrency::DEFAULT_VAT_RATE
  end

  it "should set vat_rate" do
    Corrency::Config.vat_rate = 17.50
    Corrency::Config.vat_rate.must_equal 17.50
  end

  after do
    Corrency::Config.vat_rate = Corrency::DEFAULT_VAT_RATE
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
corrency-0.3.1 test/corrency_test.rb
corrency-0.3.0 test/corrency_test.rb