0
0
Fork 0

Remove admin_user helper method from SystemHelpers module (#34096)

This commit is contained in:
Matt Jankowski 2025-03-07 03:31:47 -05:00 committed by GitHub
parent 551339401d
commit eaf1ea3155
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 44 additions and 10 deletions

View file

@ -3,9 +3,14 @@
require 'rails_helper'
RSpec.describe 'Admin::Settings::Branding' do
let(:admin_user) { Fabricate(:admin_user) }
before { sign_in(admin_user) }
it 'Saves changes to branding settings' do
sign_in admin_user
visit admin_settings_branding_path
expect(page)
.to have_title(I18n.t('admin.settings.branding.title'))
fill_in short_description_field,
with: 'new key value'