Remove useless spec

This commit is contained in:
Artur Beljajev 2019-05-15 13:39:01 +03:00
parent e0d3e14df4
commit 5e0eca22cf
2 changed files with 1 additions and 15 deletions

View file

@ -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' %>

View file

@ -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