Commit 179955e8 authored by Sanad Liaquat's avatar Sanad Liaquat

Match space or newline after username

parent b759b4a6
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment