Skip to content

Commit 94c6d9d

Browse files
Fix auth spec in chrome
1 parent d723cf8 commit 94c6d9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/features/auth_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
end
2929

3030
it 'Username field contains admin tag' do
31-
expect(page.find('#username').text).to end_with("(Admin)")
31+
expect(page).to have_css('#username', text: /\(Admin\)/)
3232
end
3333

3434
it 'Admin can create new skill' do

0 commit comments

Comments
 (0)