Sha256: f9a131306cacff63a9c74b26d8e7fb24cbc6277a7079f7ffed0f100ed9eda179
Contents?: true
Size: 393 Bytes
Versions: 9
Compression:
Stored size: 393 Bytes
Contents
When /^I run a plugin with the following methods:$/ do |methods| steps %Q{ Given a file named "check_foo" with: """ require 'nagiosplugin' class Foo < NagiosPlugin::Plugin #{methods} end Foo.new.run """ When I run `ruby check_foo` } end Then /^the plugin should print "([^"]*)"$/ do |stdout| steps %Q{Then the stdout should contain "FOO #{stdout}"} end
Version data entries
9 entries across 9 versions & 1 rubygems