I haven't used Jasmine before, so you are probably right. I'll look into this a bit more. I just based it on other tests that are using spy like that.