demarches-normaliennes/spec/controllers/administrateur/sessions_controller_spec.rb
2017-11-16 12:36:58 +01:00

11 lines
285 B
Ruby

require 'spec_helper'
describe Administrateurs::SessionsController, type: :controller do
before do
@request.env["devise.mapping"] = Devise.mappings[:administrateur]
end
describe '.create' do
it { expect(described_class).to be < Sessions::SessionsController }
end
end