mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
22 lines
495 B
Ruby
22 lines
495 B
Ruby
require 'rails_helper'
|
|
|
|
feature 'Root', type: :feature do
|
|
before :all do
|
|
Fabricate(:api_user)
|
|
end
|
|
|
|
it 'should redirect to registrar login page' do
|
|
visit '/registrar/login'
|
|
current_path.should == '/registrar/login'
|
|
end
|
|
|
|
it 'should redirect to registrar login page' do
|
|
visit '/registrar'
|
|
current_path.should == '/registrar/login'
|
|
end
|
|
|
|
it 'should redirect to registrar login page' do
|
|
visit '/registrar/'
|
|
current_path.should == '/registrar/login'
|
|
end
|
|
end
|