expect(json_response['message'][stranger.email]).toeq("Access level should be greater than or equal to Developer inherited membership from group #{parent.name}")
expect(json_response['message'][stranger.email])
.toeq("Access level should be greater than or equal to Developer inherited membership from group #{parent.name}")
end
end
it'creates the member if group level is lower'do
it'creates the member if group level is lower'do
...
@@ -153,10 +154,10 @@ RSpec.describe API::Invitations do
...
@@ -153,10 +154,10 @@ RSpec.describe API::Invitations do