Remove useless spec

This commit is contained in:
Artur Beljajev 2018-08-10 13:52:13 +03:00
parent 48ad971af1
commit ba24e42cec
2 changed files with 1 additions and 10 deletions

View file

@ -17,8 +17,7 @@
<nav class="navbar navbar-default navbar-fixed-top"> <nav class="navbar navbar-default navbar-fixed-top">
<div class="container"> <div class="container">
<div class="navbar-header"> <div class="navbar-header">
<%= link_to new_registrar_user_session_url, class: 'navbar-brand', <%= link_to new_registrar_user_session_url, class: 'navbar-brand' do %>
id: 'registrar-home-btn' do %>
<%= t(:registrar_head_title) %> <%= t(:registrar_head_title) %>
<% if unstable_env.present? %> <% if unstable_env.present? %>
<div class="text-center"> <div class="text-center">

View file

@ -1,8 +0,0 @@
require 'rails_helper'
RSpec.feature 'Registrar area home link', db: true do
scenario 'is visible' do
visit new_registrar_user_session_url
expect(page).to have_link('registrar-home-btn', href: registrar_root_path)
end
end