module Spec::ObjectExtensions
Direct including types
Defined in:
spec/expectations.crInstance Method Summary
-
#should(expectation, file = __FILE__, line = __LINE__)
Validates an expectation and fails the example if it does not match.
-
#should_not(expectation, file = __FILE__, line = __LINE__)
Validates an expectation and fails the example if it matches.
Instance Method Detail
def should(expectation, file = __FILE__, line = __LINE__)
#
Validates an expectation and fails the example if it does not match.
See Spec::Expecations
for available expectations.
def should_not(expectation, file = __FILE__, line = __LINE__)
#
Validates an expectation and fails the example if it matches.
See Spec::Expecations
for available expectations.