module RSpec::Matchers::FailMatchers

def fail(&block)

expect { some_expectation }.to fail
@example

Matches if an expectation fails
def fail(&block)
  raise_error(RSpec::Expectations::ExpectationNotMetError, &block)
end