Sha256: 6019692b5ce601cf7e33e58d945982921617d94d026d44d3ce635cb527881051
Contents?: true
Size: 396 Bytes
Versions: 3
Compression:
Stored size: 396 Bytes
Contents
require 'test_helper' require File.join(File.dirname(__FILE__), '..', '..', 'lib/cliutils/prefs/pref_behaviors/suffix_behavior') # Tests for the Configurator class class TestSuffixBehavior < Test::Unit::TestCase def test_evaluation v = CLIUtils::SuffixBehavior.new v.parameters = { suffix: ' - signing off!' } assert_equal(v.evaluate('bachya'), 'bachya - signing off!') end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cliutils-2.1.4 | test/behavior_tests/suffix_behavior_test.rb |
cliutils-2.1.3 | test/behavior_tests/suffix_behavior_test.rb |
cliutils-2.1.2 | test/behavior_tests/suffix_behavior_test.rb |