Sha256: 794d6806d39c539573121bb3a9b50ac1b41d56d67f63fe7f90037cbcf8d2abe3
Contents?: true
Size: 460 Bytes
Versions: 14
Compression:
Stored size: 460 Bytes
Contents
module RR module Expectations describe TimesCalledExpectation, :shared => true do before do @space = Space.new @object = Object.new @method_name = :foobar @double = @space.create_double(@object, @method_name) @scenario = @space.create_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
14 entries across 14 versions & 1 rubygems