update rspec test for create an event api