Fixed deprecated rspec configuration, tests passing