mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Extract admin settings translations
This commit is contained in:
parent
711403e418
commit
4bbea0d58b
5 changed files with 22 additions and 5 deletions
13
spec/features/admin/settings/create_spec.rb
Normal file
13
spec/features/admin/settings/create_spec.rb
Normal file
|
@ -0,0 +1,13 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.feature 'Admin settings' do
|
||||
background do
|
||||
sign_in_to_admin_area
|
||||
end
|
||||
|
||||
it 'saves settings' do
|
||||
visit admin_settings_path
|
||||
click_link_or_button 'Save'
|
||||
expect(page).to have_text(t('admin.settings.create.saved'))
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue