Improve registrar sessions specs

registry-240
This commit is contained in:
Artur Beljajev 2016-11-09 19:12:51 +02:00
parent 576c09b00d
commit 2643df8d21
7 changed files with 43 additions and 13 deletions

View 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