diff --git a/features/desktop/invitations.feature b/features/desktop/invitations.feature index 683006b9b810269cc375422ca944a89e18fc7763..dd38873ccd29ad4342d44b70634d6d5a6103d825 100644 --- a/features/desktop/invitations.feature +++ b/features/desktop/invitations.feature @@ -46,7 +46,8 @@ Feature: Invitations And I fill in the following: | email_inviter_emails | alex@example.com | And I press "Send an invitation" - Then I should have 1 Devise email delivery + Then I should see a flash message indicating success + And I should have 1 Devise email delivery And I should not see "change your notification settings" in the last sent email Scenario: sends an invitation from the stream @@ -56,7 +57,8 @@ Feature: Invitations And I fill in the following: | email_inviter_emails | alex@example.com | And I press "Send an invitation" - Then I should have 1 Devise email delivery + Then I should see a flash message indicating success + And I should have 1 Devise email delivery And I should not see "change your notification settings" in the last sent email Scenario: sends an invitation from the people search page