module Spec::ObjectExtensions

Direct including types

Defined in:

spec/expectations.cr

Instance Method Summary

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.


[View source]
def should_not(expectation, file = __FILE__, line = __LINE__) #

Validates an expectation and fails the example if it matches.

See Spec::Expecations for available expectations.


[View source]