From 09268cc09c0d4cf654da031dedd7f6ef21fc8bbe Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Thu, 28 May 2020 16:06:28 +0200 Subject: [PATCH] Maintenance: Maintenance message change spec checks for wrong message. --- spec/system/login/message_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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