Sha256: 966b30765d6ae7d1df8f799109d7ee1ffe00205a98d92a6e7737b396edcbe508
Contents?: true
Size: 392 Bytes
Versions: 5
Compression:
Stored size: 392 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.check! """ 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
5 entries across 5 versions & 1 rubygems