diff --git a/spec/system/login/message_spec.rb b/spec/system/login/message_spec.rb index c200fe7b5..3ad4ab647 100644 --- a/spec/system/login/message_spec.rb +++ b/spec/system/login/message_spec.rb @@ -29,7 +29,7 @@ RSpec.describe 'Login Message', type: :system, authenticated: false do Setting.set 'maintenance_login_message', alt_message - expect(page).to have_no_css('.js-maintenanceLogin', text: alt_message, wait: 10) + expect(page).to have_css('.js-maintenanceLogin', text: alt_message, wait: 10) end end