RSpec::Matchers.define :include_stderr do |expected|
  match do |result|
    result.stderr.include? expected
  end