Sha256: 72ec031c6961ce19bee60dc460eb95208a7ca285796ad0b23f4f7f6c21311721
Contents?: true
Size: 597 Bytes
Versions: 16
Compression:
Stored size: 597 Bytes
Contents
# Should raise by default begin Facter::Core::Execution.execute('the_most_interesting_command_in_the_world') raise 'did not raise' rescue Facter::Core::Execution::ExecutionFailure end # Should raise if given an option hash that does not contain :on_fail begin Facter::Core::Execution.execute('the_most_interesting_command_in_the_world', {}) raise 'did not raise' rescue Facter::Core::Execution::ExecutionFailure end # Should raise if directly given the option Facter::Core::Execution.execute('the_most_interesting_command_in_the_world', :on_fail => :raise) raise 'did not raise'
Version data entries
16 entries across 16 versions & 2 rubygems