Displaying 1 result from an estimated 1 matches for "chrislowis".
2007 Sep 05
4
Mocking to spec a sort_by method
...39;Comparer should be sortable on a specific symbol''
#<Mock:0x251b7c8>.[](:mph) - expected calls: 0, actual calls: 1
I assume sort_by is trying to call a [] method ? How do I stub this
method correctly using Mocha ?
Thank you for any help,
Chris
--
Chris Lowis
http://www.chrislowis.co.uk/