class RuboCop::Cop::RSpec::EmptyOutput

Check that the ‘output` matcher is not called with an empty string.

@example

# bad
expect { foo }.to output('').to_stdout
expect { bar }.not_to output('').to_stderr

# good
expect { foo }.not_to output.to_stdout
expect { bar }.to output.to_stderr