Returning from step definition in `usb.rb` raises an `unexpected return (LocalJumpError)`
In features/step_definitions/usb.rb, returning from the Given /^the system is( very)? low on memory$/
step definition raises an unexpected return (LocalJumpError)
. This probably happens because step definitions are not functions, and one cannot return from them. In fact, AFAICS, that's the only step definition with a return
in it. Enclosing the rest of the definition in an else
clause would solve this issue.