module Spec::Methods
Defined in:
spec_assert.crInstance Method Summary
-
#test(description = "", file = __FILE__, line = __LINE__, &block)
An alternative way to spell "it" to more naturally describe tests with a name, not an action
Macro Summary
-
assert(exp, file = __FILE__, line = __LINE__, bool = true)
Check that the expression is true, or raise AssertionError otherwise
Instance Method Detail
def test(description = "", file = __FILE__, line = __LINE__, &block)
#
An alternative way to spell "it" to more naturally describe tests with a name, not an action
Macro Detail
macro assert(exp, file = __FILE__, line = __LINE__, bool = true)
#
Check that the expression is true, or raise AssertionError otherwise