internetee-registry/spec/features/registrar/home_link_spec.rb
Artur Beljajev 9684c8e59f Refactor Devise integration
- Use scoped users
- Use the named route helpers instead of hardcoded paths
2018-06-20 12:21:22 +03:00

8 lines
235 B
Ruby

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