Allow a positional value arguments for assert_statsd_* calls, rather than a keyword argument. Also for StatsD::Instrument::Expectation builder methods. This is to be in line with the corresponding StatsD.metric calls that also take a positional argument for value.
E.g., you can now do assert_statsd_increment(‘metric’, 10) rather than assert_statsd_increment(‘metric’, value: 10)
The old value keyword argument is still supported, and takes priority if present.
Allow a positional value arguments for
assert_statsd_*
calls, rather than a keyword argument. Also forStatsD::Instrument::Expectation
builder methods. This is to be in line with the correspondingStatsD.metric
calls that also take a positional argument for value.E.g., you can now do
assert_statsd_increment(‘metric’, 10)
rather thanassert_statsd_increment(‘metric’, value: 10)
The old value keyword argument is still supported, and takes priority if present.