Maintenance: Maintenance message change spec checks for wrong message.

This commit is contained in:
Thorsten Eckel 2020-05-28 16:06:28 +02:00
parent 5f06c8c6b4
commit 09268cc09c

View file

@ -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