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

Version Path
cliutils-2.2.6 spec/action/pref_action_spec.rb
cliutils-2.2.5 spec/action/pref_action_spec.rb
cliutils-2.2.4 spec/action/pref_action_spec.rb
cliutils-2.2.3 spec/action/pref_action_spec.rb
cliutils-2.2.2 spec/action/pref_action_spec.rb
cliutils-2.2.1 spec/action/pref_action_spec.rb
cliutils-2.2.0 spec/action/pref_action_spec.rb