Sha256: 3b969562d10d9ca7cc20b2e85b09872f0988664461955a660b0d8ef37357d52e
Contents?: true
Size: 446 Bytes
Versions: 10
Compression:
Stored size: 446 Bytes
Contents
module RR module Expectations describe TimesCalledExpectation, :shared => true do before do @space = Space.new @object = Object.new @method_name = :foobar @double = @space.double(@object, @method_name) @scenario = @space.scenario(@double) @scenario.with_any_args end def raises_expectation_error(&block) proc {block.call}.should raise_error(Errors::TimesCalledError) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems