Removes invitations when removing an Event

Signed-off-by: Gabriel Silva <[email protected]>
Status Job ID Name Coverage
  Test
passed #322137014
api

00:14:48

passed #322137016
controllers

00:17:55

passed #322137018
cucumber-1

00:09:25

passed #322137019
cucumber-2

00:09:24

passed #322137026
cypress

00:05:45

passed #322137017
integration

00:06:39

passed #322137015
models

00:17:23

passed #322137013
rspec

00:05:44

passed #322137020
selenium-1

00:10:06

passed #322137021
selenium-2

00:07:22

passed #322137022
selenium-3

00:10:27

passed #322137023
selenium-4

00:08:28

passed #322137024
selenium-5

00:10:55

passed #322137025
selenium-6

00:08:33

 
  Test Plugins
passed #322137027
plugins-1

00:19:07

passed #322137028
plugins-2

00:13:14

passed #322137029
plugins-3

00:15:20

passed #322137030
plugins-4

00:18:17

passed #322137031
plugins-5

00:12:11

 
  Code Quality
failed #322137032
allowed to fail
rubocop

00:06:31

 
Name Stage Failure
failed
rubocop Code Quality
app/api/v1/scraps.rb:22:4: C: Layout/IndentationConsistency: Inconsistent indentation detected.
present_partial scrap.replies.order(created_at: :desc), with: Entities::Scrap
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/api/v1/people.rb:187:21: W: Layout/EndAlignment: end at 187, 20 is not aligned with if at 181, 14.
end
^^^

2482 files inspected, 81 offenses detected
ERROR: Job failed: exit code 1