test/spy/test_subroutine.rb in spy-0.2.3 vs test/spy/test_subroutine.rb in spy-0.2.4

- old
+ new

@@ -105,9 +105,12 @@ end assert_raises ArgumentError do write_spy.and_return do |string, b| end end + + write_spy.and_return(force: true) do |string, b| + end end def test_spy_and_return_can_call_a_block_that_recieves_a_block string = "hello world"