Skip to content

Instantly share code, notes, and snippets.

@oleander
Created February 12, 2011 03:09
Show Gist options
  • Save oleander/823452 to your computer and use it in GitHub Desktop.
Save oleander/823452 to your computer and use it in GitHub Desktop.
@channel.should_receive(:generate_key!).at_least(1).times.with(({time: now, type: 'playlists'}), ({time: ago, type: 'playlists'})).and_return(key, random)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment