Sha256: 1b38b8dec6aea4362ad69c05be4cedddc5febf68ed46abe4b00189a93c5ed2aa
Contents?: true
Size: 351 Bytes
Versions: 1
Compression:
Stored size: 351 Bytes
Contents
require 'nagios_check' RSpec::Matchers.define :alert_if do |expected| match do |actual| !actual.include?(expected) end failure_message do |actual| "expected that #{actual} would alert for value #{expected}" end failure_message_when_negated do |actual| "expected that #{actual} would not alert for value #{expected}" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nagios_check-0.4.1 | spec/spec_helper.rb |