mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 02:39:37 +02:00
14 lines
408 B
Ruby
14 lines
408 B
Ruby
require 'rails_helper'
|
|
|
|
RSpec.feature 'Registrar area profile', settings: false do
|
|
background do
|
|
Setting.registrar_ip_whitelist_enabled = false
|
|
sign_in_to_registrar_area(user: create(:api_user_with_unlimited_balance))
|
|
end
|
|
|
|
scenario 'shows profile' do
|
|
visit registrar_root_path
|
|
click_on 'registrar-profile-btn'
|
|
expect(page).to have_text(t('registrar.profile.show.header'))
|
|
end
|
|
end
|