method
failure_message
1.1.12 -
Show latest stable
-
0 notes -
Class: Spec::Matchers::Be
- 1.1.4 (0)
- 1.1.12 (0)
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
failure_message()
public
Hide source
# File lib/spec/matchers/be.rb, line 29 def failure_message handling_predicate? ? "expected #{predicate}#{args_to_s} to return true, got #{@result.inspect}" : "expected #{@comparison_method} #{expected}, got #{@actual.inspect}".gsub(' ',' ') end