mirror of
https://github.com/mastodon/mastodon.git
synced 2025-07-15 08:48:15 +00:00
Negate the matcher
This commit is contained in:
parent
d9eb7bb09a
commit
b534854505
|
@ -6,10 +6,6 @@ module CommandLineHelpers
|
|||
include(*)
|
||||
).to_stdout
|
||||
end
|
||||
|
||||
def not_output_results(*)
|
||||
output(
|
||||
not_include(*)
|
||||
).to_stdout
|
||||
end
|
||||
end
|
||||
|
||||
RSpec::Matchers.define_negated_matcher :not_output_results, :output_results
|
||||
|
|
Loading…
Reference in New Issue
Block a user