2015-12-09 15:10:11 +01:00
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
describe Administrateurs::SessionsController, type: :controller do
|
|
|
|
before do
|
|
|
|
@request.env["devise.mapping"] = Devise.mappings[:administrateur]
|
|
|
|
end
|
|
|
|
|
2018-03-20 16:00:30 +01:00
|
|
|
describe '#create' do
|
2015-12-09 15:10:11 +01:00
|
|
|
it { expect(described_class).to be < Sessions::SessionsController }
|
|
|
|
end
|
2017-04-04 15:27:04 +02:00
|
|
|
end
|