Sha256: cac06e56a67c775592428d9aa74d4a860824a85ab5e98d81d00e4a81e197060c
Contents?: true
Size: 378 Bytes
Versions: 3
Compression:
Stored size: 378 Bytes
Contents
require 'test_helper' require File.join(File.dirname(__FILE__), '..', '..', 'lib/cliutils/prefs/pref_behaviors/prefix_behavior') # Tests for the Configurator class class TestPrefixBehavior < Test::Unit::TestCase def test_evaluation v = CLIUtils::PrefixBehavior.new v.parameters = { prefix: 'test: ' } assert_equal(v.evaluate('bachya'), 'test: bachya') end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cliutils-2.1.4 | test/behavior_tests/prefix_behavior_test.rb |
cliutils-2.1.3 | test/behavior_tests/prefix_behavior_test.rb |
cliutils-2.1.2 | test/behavior_tests/prefix_behavior_test.rb |