mock is deprecated. Use double instead.
Merge pull request #32 from sferik/fix_rspec_deprecation

Fix RSpec deprecation