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