mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 22:54:47 +02:00
Remove useless spec
This commit is contained in:
parent
e0d3e14df4
commit
5e0eca22cf
2 changed files with 1 additions and 15 deletions
|
@ -1,5 +1,4 @@
|
|||
<% current_user_presenter = UserPresenter.new(user: current_registrar_user, view: self) %>
|
||||
<%= link_to current_user_presenter.login_with_role, registrar_profile_path, id: 'registrar-profile-btn',
|
||||
class: 'navbar-link' %>
|
||||
<%= link_to current_user_presenter.login_with_role, registrar_profile_path, class: 'navbar-link' %>
|
||||
<span class="text-muted">|</span>
|
||||
<%= link_to t('.sign_out'), destroy_registrar_user_session_path, method: :delete, class: 'navbar-link' %>
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.feature 'Registrar area profile', settings: false do
|
||||
background do
|
||||
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
|
Loading…
Add table
Add a link
Reference in a new issue