module RSpec::Matchers::FailMatchers

def fail_including(*snippets)

expect { some_expectation }.to fail_including("portion of some failure message")
@example

Matches if an expectation fails including the provided message
def fail_including(*snippets)
  raise_error(
    RSpec::Expectations::ExpectationNotMetError,
    a_string_including(*snippets)
  )
end