method

fail_with

rspec latest stable - Class: Spec::Matchers

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (1.1.12) is shown here.

fail_with(message)
public

No documentation available.

# File spec/spec_helper.rb, line 29
    def fail_with(message)
      raise_error(Spec::Expectations::ExpectationNotMetError, message)
    end