We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d723cf8 commit 94c6d9dCopy full SHA for 94c6d9d
spec/features/auth_spec.rb
@@ -28,7 +28,7 @@
28
end
29
30
it 'Username field contains admin tag' do
31
- expect(page.find('#username').text).to end_with("(Admin)")
+ expect(page).to have_css('#username', text: /\(Admin\)/)
32
33
34
it 'Admin can create new skill' do
0 commit comments