mastodon/spec/support/command_line_helpers.rb
Eashwar Ranganathan a17146b980
Negate the matcher
2025-08-03 01:53:03 -07:00

12 lines
213 B
Ruby

# frozen_string_literal: true
module CommandLineHelpers
def output_results(*)
output(
include(*)
).to_stdout
end
end
RSpec::Matchers.define_negated_matcher :not_output_results, :output_results