mirror of
https://github.com/internetee/registry.git
synced 2025-06-09 22:24:47 +02:00
parent
febbe1282d
commit
450a95f628
3 changed files with 19 additions and 1 deletions
9
spec/routing/registrar/domains_routing_spec.rb
Normal file
9
spec/routing/registrar/domains_routing_spec.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Registrar::DomainsController do
|
||||
describe 'routing' do
|
||||
it 'routes to #index' do
|
||||
expect(get: '/registrar/domains').to route_to('registrar/domains#index')
|
||||
end
|
||||
end
|
||||
end
|
9
spec/routing/registrar/sessions_routing_spec.rb
Normal file
9
spec/routing/registrar/sessions_routing_spec.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Registrar::SessionsController do
|
||||
describe 'routing' do
|
||||
it 'routes to #login' do
|
||||
expect(get: '/registrar/login').to route_to('registrar/sessions#login')
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue