Class: Busser::RunnerPlugin::Dummy

Inherits:
Base show all
Defined in:
lib/busser/runner_plugin/dummy.rb

Overview

Dummy runner plugin for Busser.

Author:

Instance Method Summary collapse

Methods inherited from Base

postinstall

Methods included from UI

banner, die, fatal, handle_command, info, run!, run_ruby_script!, status, warn

Methods included from Helpers

chef_apply, install_gem, root_path, suite_path, vendor_path

Instance Method Details

#testObject



38
39
40
41
42
43
44
45
# File 'lib/busser/runner_plugin/dummy.rb', line 38

def test
  banner "[dummy] Running"
  if File.exists?(File.join(suite_path("dummy"), "foobar.txt"))
    info "[dummy] The postinstall script has been called"
  else
    warn "[dummy] The postinstall script was not called"
  end
end