Commit Graph

3 Commits

Author SHA1 Message Date
807d1ba73d Change behavior of stub_called_times
It now only ever returns the the number of times the stub has been
called. To assert if it has been called exactly X number of times, use
`stub_called_exact_times` instead.
2014-03-22 14:05:33 +00:00
721226618c Change when called state is reset
This allows checking if a stub was called even after it's been restored
to it's original. Called state is only reset when a new stub is created
for the same command.
2014-03-19 23:55:39 +00:00
5af71ab2fd Add stub_called_times function 2014-03-19 23:27:03 +00:00