Remove admin_user helper method from SystemHelpers module (#34096)
		
	This commit is contained in:
		
					parent
					
						
							
								551339401d
							
						
					
				
			
			
				commit
				
					
						eaf1ea3155
					
				
			
		
					 12 changed files with 44 additions and 10 deletions
				
			
		|  | @ -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' | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue