Sha256: e0c9654178a67978456549af5979b9d98b82591a10a3ea843eb35d72f73fedf8
Contents?: true
Size: 666 Bytes
Versions: 1
Compression:
Stored size: 666 Bytes
Contents
require_relative '../test_helper' describe Skr::Core::Configuration do def test_default_values conf = Skr::Core::DefaultConfiguration.new Skr::Core.silence_logs do assert_equal '01', conf.default_branch_code assert_equal '01', Skr::Core.config.default_branch_code end end def test_changing_values_are_logged begin assert_logs_matching( /default_branch_code changed from 01 to 02/ ) do Skr::Core.config.default_branch_code='02' end ensure Skr::Core.silence_logs { Skr::Core.config.default_branch_code='01' } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stockor-core-0.2 | test/core/configuration_test.rb |