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

Fix RSpec deprecation
Added ruby-head to travis' allowed failures