jsut hint. This way, other calls to SCR is not captured and runned. I propose to replace SCR by stub and then use define on it allowed methods like I did it in cio - https://github.com/yast/yast-cio/blob/master/test/channels_dialog_spec.rb#L45
It also write nice error message if unexpected call happen.