mirror of
https://github.com/internetee/registry.git
synced 2025-05-28 13:51:41 +02:00
23 lines
518 B
Ruby
23 lines
518 B
Ruby
require 'rails_helper'
|
|
|
|
feature 'Root', type: :feature do
|
|
before :all do
|
|
create_settings
|
|
Fabricate(:api_user)
|
|
end
|
|
|
|
fit 'should redirect to registrar login page' do
|
|
visit '/registrar/login'
|
|
current_path.should == '/registrar/login'
|
|
end
|
|
|
|
fit 'should redirect to registrar login page' do
|
|
visit '/registrar'
|
|
current_path.should == '/registrar/login'
|
|
end
|
|
|
|
fit 'should redirect to registrar login page' do
|
|
visit '/registrar/'
|
|
current_path.should == '/registrar/login'
|
|
end
|
|
end
|