Sha256: 79e183f5a821e1bc7fdfd43c4f31725953cf3eb176bdc9979e489b1d188f02de
Contents?: true
Size: 460 Bytes
Versions: 2
Compression:
Stored size: 460 Bytes
Contents
require 'test_helper' class EnvironmentTest < Test::Unit::TestCase def setup @environment = Spreedly::Environment.new("TheKey", "TheAccessSecret") end def test_currency_code_defaults_to_usd assert_equal "USD", @environment.currency_code end def test_currency_code_can_be_overridden environment = Spreedly::Environment.new("TheKey", "TheAccessSecret", currency_code: "EUR") assert_equal "EUR", environment.currency_code end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spreedly-2.0.1 | test/unit/environment_test.rb |
spreedly-2.0.0 | test/unit/environment_test.rb |