spec/provider/session_spec.rb in switch_user-0.9.5 vs spec/provider/session_spec.rb in switch_user-1.0.0

- old
+ new

@@ -5,10 +5,10 @@ def current_user User.find_by_id(session[:uid]) if session[:uid] end end -describe SwitchUser::Provider::Session do +RSpec.describe SwitchUser::Provider::Session do before do SwitchUser.session_key = :uid end let(:controller) { SessionController.new } let(:provider) { SwitchUser::Provider::Session.new(controller) }