Sha256: ccab3f13ebfe65c6c7cdcb56211b2d2f165f62cc707936b9495b4e9fdc9a553f
Contents?: true
Size: 490 Bytes
Versions: 7
Compression:
Stored size: 490 Bytes
Contents
require_relative '../spec_helper' require 'cliutils/messaging' require 'cliutils/prefs/pref_behaviors/pref_behavior' require File.join(File.dirname(__FILE__), '..', '..', 'support/test_behavior_empty') describe CLIUtils::TestBehaviorEmpty do it 'raises an exception if `evaluate` is not implemented' do m = '`evaluate` method not implemented on caller: CLIUtils::TestBehaviorEmpty' expect { CLIUtils::TestBehaviorEmpty.new.evaluate('') }.to raise_error(RuntimeError, m) end end
Version data entries
7 entries across 7 versions & 1 rubygems