method
expected
1.1.4 -
Show latest stable
- Class:
Spec::Matchers::Be
expected()public
No documentation available.
# File lib/spec/matchers/be.rb, line 49
def expected
return "if to be satisfied" if @expected == :satisfy_if
return true if @expected == :true
return false if @expected == :false
return "nil" if @expected == :nil
return @expected.inspect
end