Removing warning for rspec test