Sha256: 1b64a341e67f49010cbcd11f55a514717a670aec349540093af81bfb96b2100a
Contents?: true
Size: 338 Bytes
Versions: 18
Compression:
Stored size: 338 Bytes
Contents
require "examples/example_helper" module RR module Expectations describe TimesCalledExpectation, ".new" do it "doesn't accept both an argument and a block" do proc do TimesCalledExpectation.new(2) {|value| value == 2} end.should raise_error(ArgumentError, "Cannot pass in both an argument and a block") end end end end
Version data entries
18 entries across 18 versions & 1 rubygems