Sha256: 0cf5caf9f48f930f856571845da132b93ca0bbaa39b4cb0998d4a8f191a4fe51
Contents?: true
Size: 450 Bytes
Versions: 228
Compression:
Stored size: 450 Bytes
Contents
require File.join(File.expand_path(File.dirname(__FILE__)), '../..', 'test_helper.rb') require 'rbbt/util/config' class TestConfig < Test::Unit::TestCase def setup Rbbt::Config.set({:cpus => 30}, :test_config, :test) Rbbt::Config.set(:cpus , 5, "slow::2", :test) end def test_simple assert_equal 30, Rbbt::Config.get(:cpus, :test_config) end def test_prio assert_equal 5, Rbbt::Config.get(:cpus, :slow, :test) end end
Version data entries
228 entries across 228 versions & 1 rubygems