Sha256: 993f01d2999603e86d9bd281e333c533d0e7b711de95c8b9706de28073b8d4d9
Contents?: true
Size: 704 Bytes
Versions: 4
Compression:
Stored size: 704 Bytes
Contents
require 'ospec/expectations/fail_with' require 'ospec/expectations/handler' require 'ospec/expectations/errors' module Kernel def should(matcher = nil, message = nil, &block) r = Spec::Expectations::PositiveExpectationHandler.handle_matcher self, matcher, message end def should_not(matcher = nil, message = nil, &block) Spec::Expectations::NegativeExpectationHandler.handle_matcher self, matcher, message end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
opal-0.3.6 | lib/ospec/expectations.rb |
opal-0.3.2 | gems/ospec/lib/ospec/expectations.rb |
opal-0.3.1 | gems/ospec/lib/ospec/expectations.rb |
opal-0.3.0 | gems/ospec/lib/ospec/expectations.rb |