mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
Registrar refactor
This commit is contained in:
parent
6573d81b94
commit
ec4c06bb06
95 changed files with 564 additions and 539 deletions
23
spec/features/registrar/root_spec.rb
Normal file
23
spec/features/registrar/root_spec.rb
Normal file
|
@ -0,0 +1,23 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue