From 3306de2d1f8cee95d9485c9143d64cf6a4fb96df Mon Sep 17 00:00:00 2001 From: Mantas Masalskis Date: Tue, 14 Apr 2020 16:24:17 +0300 Subject: [PATCH] Maintenance: Resolve RSpec `should_not` deprecation warning. --- spec/system/basic/authentication_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/basic/authentication_spec.rb b/spec/system/basic/authentication_spec.rb index 1d90f93d4..b6ab66cb7 100644 --- a/spec/system/basic/authentication_spec.rb +++ b/spec/system/basic/authentication_spec.rb @@ -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