rspec of RelationsController. And modification of RelationsController file