RSpec mocking and matchers for onCue