myclass.should_receive(:my_method).any_number_of_times is a weird 'assertion', it can be satisfied by nothing happening (any number of times includes 0 times)
So if the intent was that the method should be invoked, that's overridden by allowing zero times.
Maybe this combination should
@dchelimsky suggested a deprecation notice on twitter. See -- https://twitter.com/#!/baob/status/198110647110737920
FYI - see the discussion at #133.
Is this still an issue?
Nope. It can be closed. We now issue a deprecation warning.