Making Rspec 3 compliant, Fixing deprecation warning #16