maybe faster but it can horribly break in future. I recommend to create shared test_helper where is factory creator of mocked items. See e.g. how I do it for dialog in new module, where some default is created and can be overwritten by specified keys in argument - https://github.com/yast/yast-cio/blob/initial_version/test/channels_dialog_spec.rb#L21