module

Spec::Methods

Instance methods

test(description = "", file = __FILE__, line = __LINE__, &block)

An alternative way to spell "it" to more naturally describe tests with a name, not an action

Source

Macros

assert(exp, file = __FILE__, line = __LINE__, bool = true)

Check that the expression is true, or raise AssertionError otherwise

Source