Sha256: c34afe4bff02494f3ae8ed41521e5d9dc8ec8644b2155d26a07b7f2dce4de30d
Contents?: true
Size: 501 Bytes
Versions: 4
Compression:
Stored size: 501 Bytes
Contents
# frozen_string_literal: true 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
4 entries across 4 versions & 1 rubygems