Remove rspec deprecations

- Use double instead of stub and mock, and use stub instead of stub!
- Remove any_number_of_times
- Use 'expect not to raise error' instead of 'expect not to raise_error(Specific)'