Remove any_number_of_times

any_number_of_times is deperecated
Use double instead of stub and mock, and use stub instead of stub!

rspec deprecation message:
DEPRECATION: stub is deprecated. Use double instead.
Use 'expect not to raise error' instead of 'expect not to raise_error(Specific)'

DEPRECATION: `expect { }.not_to raise_error(SpecificErrorClass)` is deprecated. Use `expect { }.not_to raise_error()` instead.
see:
[Consider deprecating `expect { }.not_to raise_error(SpecificErrorClass)`](https://github.com/rspec/rspec-expectations/issues/231)
Merge pull request #325 from sanemat/fix/deprecated

Remove rspec deprecations