There is an implicit subject of Invite
. This is an RSpec feature:
The first argument to the outermost example group block is made available to each example as an implicit subject of that example.
See https://www.relishapp.com/rspec/rspec-core/v/2-0/docs/subject/implicit-subject