Skip to content
Snippets Groups Projects
Commit 179955e8 authored by Sanad Liaquat's avatar Sanad Liaquat
Browse files

Match space or newline after username

parent b759b4a6
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment