Sha256: 4ae501871f65a36c2e5c5a1839e70a42493e8ddc1bdc68dad338af5717ce72f1
Contents?: true
Size: 680 Bytes
Versions: 6
Compression:
Stored size: 680 Bytes
Contents
unless g:speckle_env? g:speckle_env = {} g:speckle_env.matchers = g:MatchersConstructor() g:speckle_env.assertions = 0 end def expect(actual) env = g:speckle_env env.actual = actual matchers = env.matchers expectation = g:ExpectationConstructor(actual) expectation.load(matchers) return expectation end def get_matchers() env = g:speckle_env matchers = env.matchers return matchers end def define_matcher(ok_name, not_ok_name, matcher) matchers = get_matchers() matchers.define_pair(ok_name, not_ok_name, matcher) end def get_logger() unless g:logger? g:logger = g:LoggerConstructor() end return g:logger end s:logger = get_logger()
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
speckle-0.2.0 | lib/dsl.riml |
speckle-0.1.31 | lib/dsl.riml |
speckle-0.1.30 | lib/dsl.riml |
speckle-0.1.29 | lib/dsl.riml |
speckle-0.1.28 | lib/dsl.riml |
speckle-0.1.27 | lib/dsl.riml |