diff options
author | Sanad Liaquat <sliaquat@gitlab.com> | 2019-08-20 07:30:27 +0500 |
---|---|---|
committer | Sanad Liaquat <sliaquat@gitlab.com> | 2019-08-20 07:30:27 +0500 |
commit | 179955e8ce8c4495a5484384d37df64184971634 (patch) | |
tree | 56aee8d7b634f0c696e3da00dbd31ad67e576859 /qa | |
parent | b759b4a62ed184236b9d56c3ca5cf1af534bbda0 (diff) | |
download | gitlab-ce-179955e8ce8c4495a5484384d37df64184971634.tar.gz |
Match space or newline after usernameqa-staging-67-fix-add-project-member-spec
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/specs/features/browser_ui/1_manage/project/add_project_member_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/specs/features/browser_ui/1_manage/project/add_project_member_spec.rb b/qa/qa/specs/features/browser_ui/1_manage/project/add_project_member_spec.rb index d859ee8e96a..1c1f552e224 100644 --- a/qa/qa/specs/features/browser_ui/1_manage/project/add_project_member_spec.rb +++ b/qa/qa/specs/features/browser_ui/1_manage/project/add_project_member_spec.rb @@ -19,7 +19,7 @@ module QA page.add_member(user.username) end - expect(page).to have_content(/@#{user.username}\nGiven access/) + expect(page).to have_content(/@#{user.username}(\n| )?Given access/) end end end |