mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
13 lines
268 B
Ruby
13 lines
268 B
Ruby
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
|