make invitation specs pass

This is for your https://bountify.co/trying-to-write-a-good-test-case-for-my-user-story bounty