method

failure_message

rspec latest stable - Class: Spec::Matchers::Have

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.

failure_message()
public

No documentation available.

# File lib/spec/matchers/have.rb, line 39
      def failure_message
        "expected #{relative_expectation} #{@collection_name}, got #{@given}"
      end