Skip to content

Instantly share code, notes, and snippets.

@rodrigomaia
Created February 1, 2012 18:42
Show Gist options
  • Save rodrigomaia/1718578 to your computer and use it in GitHub Desktop.
Save rodrigomaia/1718578 to your computer and use it in GitHub Desktop.
Ordenar expectations - Rspec
Ordering
double.should_receive(:msg).ordered
double.should_receive(:other_msg).ordered
#This will fail if the messages are received out of order
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment