Please sign in to comment.
- Loading branch information...
Showing with 10 additions and 0 deletions.
|@@ -35,6 +35,8 @@ def verify_messages_received|
|# This is a hack to get it to work. But it means we can only ever expect|
|# exactly 1 message.|
|lines.size == 1|
|@@ -50,6 +52,12 @@ def invoke(*args, &block)|
|# yield block, *args if defined?(block)|
|# This is a hack to get it to work. But it means we don't get info about|
|# "similar" methods in the failure output. Similar messages are those with|
|# a matching method name, but not matching arguments.|
|# Note: this is only a rough definition of "similar" methods. "Similar"|
|# methods are not part of RSpec's external API, so their definition is not|
|# strictly documented.|
|@@ -1,6 +1,8 @@|
|# This has no checking for existing expectations on this object (like RSpec|
|# does). It will probably only work if you set one expectation per object.|
|def add_child_process_expectation(error_generator, expectation_ordering, expected_from, opts, &block)|
|# expectation = if existing_stub = stubs.first|