Sha256: 2abb9bee23ce4fda2cd0c27bd89d11cd7e147bc854700a0de0e2a3932aff01d0
Contents?: true
Size: 395 Bytes
Versions: 7
Compression:
Stored size: 395 Bytes
Contents
require_relative '../spec_helper' require 'cliutils/messaging' require 'cliutils/prefs/pref_behaviors/pref_behavior' require 'cliutils/prefs/pref_behaviors/prefix_behavior' describe CLIUtils::PrefixBehavior do it 'prefixes its input' do b = CLIUtils::PrefixBehavior.new b.parameters = { prefix: 'Starting up: ' } expect(b.evaluate('bachya')).to eq('Starting up: bachya') end end
Version data entries
7 entries across 7 versions & 1 rubygems