method
failure_message
RSpec latest stable (1.3.1)
-
0 notes -
Class: Spec::Matchers::SimpleMatcher
- 1.1.4 (0)
- 1.1.12 (0)
- 1.2.0 (0)
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
failure_message()
public
Hide source
# File lib/spec/matchers/simple_matcher.rb, line 25 def failure_message @failure_message || (@description.nil? ? explanation : %[expected #{@description.inspect} but got #{@given.inspect}]) end