Sha256: c92f5caef0ad57403277f83ee4c898c8b6ad26b38fbb62996c35036493e5ed46
Contents?: true
Size: 470 Bytes
Versions: 10
Compression:
Stored size: 470 Bytes
Contents
require 'spec_helper' require 'switch_user/provider/restful_authentication' class RestfulAuthenticationController < TestController attr_accessor :current_user def logout_killing_session! self.current_user = nil end end RSpec.describe SwitchUser::Provider::RestfulAuthentication do let(:controller) { RestfulAuthenticationController.new } let(:provider) { SwitchUser::Provider::RestfulAuthentication.new(controller) } it_behaves_like "a provider" end
Version data entries
10 entries across 10 versions & 1 rubygems