mastodon/spec/support/command_line_helpers.rb
Eashwar Ranganathan b534854505
Negate the matcher
2025-05-27 09:40:37 -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