ESpec v1.1.2 ESpec.ExpectTo

Defines to and to_not functions which call specific ‘assertion’

Summary

Functions

Alias fo to_not

Calls specific asserion

Just apply ‘assert’ with positive = false

Functions

not_to(rhs, arg)

Alias fo to_not.

to(arg1, arg2)

Calls specific asserion.

to_not(arg1, arg2)

Just apply ‘assert’ with positive = false.