huginn/spec/support/matchers.rb
Akinori MUSHA 8645323dfe Expose target to CommanderAgent in templating
This allows a CommanderAgent to control only some of the targets
depending on the agent attributes.  For example, you can update the
threshold value of a target agent only if the current value is
lower (or higher) than the suggested new value.
2017-07-09 03:34:05 +09:00

1 line
60 B
Ruby

RSpec::Matchers.define_negated_matcher :not_change, :change