Sha256: 62e4257788d756d9bc15a432b506dc4ec98ebcf43ed0a6ab99f62bc021238b5e
Contents?: true
Size: 503 Bytes
Versions: 6
Compression:
Stored size: 503 Bytes
Contents
# coding: utf-8 require 'helper' class TestConfig < Test::Unit::TestCase def setup Boom::Config.any_instance.stubs(:file). returns("test/examples/test_json.json") @config = Boom::Config.new @config.stubs(:save).returns(true) end def test_bootstraps_config @config.bootstrap assert_equal ({:backend => 'json'}), @config.attributes end def test_attributes @config.attributes[:wu_tang] = 'clan' assert_equal 'clan', @config.attributes[:wu_tang] end end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
boom-0.2.4 | test/test_config.rb |
boom-0.2.3 | test/test_config.rb |
boom-0.2.2 | test/test_config.rb |
boom-0.2.1 | test/test_config.rb |
boom-0.2.0 | test/test_config.rb |
boom-0.1.2 | test/test_config.rb |