Fixed deprecation warnings in rspec