We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94b13c7 commit bb4c6e2Copy full SHA for bb4c6e2
spec/support/event_subscriber.rb
@@ -44,6 +44,13 @@ def started(event)
44
end
45
46
47
+ # Filters command started events for the specified command name.
48
+ def command_started_events(command_name)
49
+ started_events.select do |event|
50
+ event.command[command_name]
51
+ end
52
53
+
54
# Locates command stated events for the specified command name,
55
# asserts that there is exactly one such event, and returns it.
56
def single_command_started_event(command_name)
0 commit comments