Sha256: 4ebad71fa30b8aea51300c94743561e8b08711c95d237a5e2c479e51b15ad42a
Contents?: true
Size: 440 Bytes
Versions: 10
Compression:
Stored size: 440 Bytes
Contents
require 'spec_helper' require 'switch_user/provider/sorcery' class SorceryController < TestController def logout @user = nil reset_session end def auto_login(user) @user = user end def current_user @user end end RSpec.describe SwitchUser::Provider::Sorcery do let(:controller) { SorceryController.new } let(:provider) { SwitchUser::Provider::Sorcery.new(controller) } it_behaves_like "a provider" end
Version data entries
10 entries across 10 versions & 1 rubygems