Fix Rspec deprecation warning

Supplying a particular Exception with `to_not` has been deprecated.
Merge pull request #8 from jonallured/fix-rspec

Fix Rspec deprecation warning