Rspec and implementation for invitations controller index