eproxus/meck — pull request #42 by daha (2011-10-12 17:38:19+00:00)
Title: Verify history/2 returns events in the correct order & fix to flaky history_by_pid_/1 test

Hi Adam,

I have made 2 corrections to the test history_by_pid_/1.
1. Verify that the order of the events in the history is correct
2. The test was a little flaky, it would fail sometimes (It has happend to me at least once). So I added a receive to wait for the spawned process to make its call.