class RSpec::Puppet::Errors::ProcMatchError

Public Instance Methods

message() click to toggle source
# File lib/rspec-puppet/errors.rb, line 45
def message
  if negative == true
    "#{param} passed to the block would not return `#{expected.inspect}` but it did"
  else
    "#{param} passed to the block would return `#{expected.inspect}` but it is `#{actual.inspect}`"
  end
end