mirror of
https://github.com/mastodon/mastodon.git
synced 2025-07-15 08:48:15 +00:00
12 lines
213 B
Ruby
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
|