demarches-normaliennes/spec/controllers/instructeurs/sessions_controller_spec.rb
2019-08-12 13:47:01 +02:00

11 lines
279 B
Ruby

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