module Spec::Methods

Defined in:

spec/methods.cr

Instance Method Summary

Instance Method Detail

def assert(file = __FILE__, line = __LINE__, end_line = __END_LINE__, &block) #

DEPRECATED Use #it


[View source]
def context(description, file = __FILE__, line = __LINE__, &block) #

[View source]
def describe(description, file = __FILE__, line = __LINE__, &block) #

[View source]
def fail(msg, file = __FILE__, line = __LINE__) #

[View source]
def it(description = "assert", file = __FILE__, line = __LINE__, end_line = __END_LINE__, &block) #

[View source]
def pending(description = "assert", file = __FILE__, line = __LINE__, end_line = __END_LINE__, &block) #

[View source]