Within an any_instance_of block, for example:
any_instance_of Tenancy do |tenancy|
mock(Tenancy).update_checkout_booking.twice
end
how could I test that it runs three or more times? Using .never, .once, and .twice all work fine.
But to test three times I've tried .thrice, .exactly(3).times, and no joy.