From b759b4a62ed184236b9d56c3ca5cf1af534bbda0 Mon Sep 17 00:00:00 2001 From: Sanad Liaquat Date: Mon, 19 Aug 2019 20:03:13 +0500 Subject: [PATCH] Fix add project member spec --- .../browser_ui/1_manage/project/add_project_member_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 f51c16f472c..d859ee8e96a 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.name} (. )?@#{user.username} Given access/) + expect(page).to have_content(/@#{user.username}\nGiven access/) end end end