dox Executable Documentation

Change yielded of selection

Invalid id

When I set yielded of selection 42 to true
Then the error should contain 'Selection with ID [42] not found'

Set yielded

Given the user 'Bart'
Given an order 'Order' with 1 menus each 1 dishes
Given dish 1 of menu 1 of this order is 'A'
Given 'Bart' selected dish 'A' for menu 1 of order 'Order'
When I set yielded of selection 1 to true
Then the response should be empty
Then there should be 1 selections
Then selection 1 should be yielded