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, info, run!, run_ruby_script!, warn

Methods included from Helpers

chef_apply, install_gem, root_path, suite_path, vendor_path

Instance Method Details

#testObject



46
47
48
49
50
51
52
53
# File 'lib/busser/runner_plugin/dummy.rb', line 46

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