Maintenance: Resolve RSpec should_not deprecation warning.

This commit is contained in:
Mantas Masalskis 2020-04-14 16:24:17 +03:00 committed by Thorsten Eckel
parent 57b1defd8d
commit 3306de2d1f

View file

@ -23,6 +23,6 @@ RSpec.describe 'Authentication', type: :system do
visit '/#signup'
# check wrong displayed fields in registration form after logout. #2989
page.should_not have_selector('select[name=organization_id]')
expect(page).to have_no_selector('select[name=organization_id]')
end
end