Fix RSpec deprecation warning.
Merge pull request #16 from vjoel/fix-rspec-deprecation

Fix rspec deprecation