spec/provider/session_spec.rb in switch_user-1.5.0 vs spec/provider/session_spec.rb in switch_user-1.5.1
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require 'spec_helper'
require 'switch_user/provider/session'
class SessionController < TestController
def current_user
@@ -12,7 +14,7 @@
SwitchUser.session_key = :uid
end
let(:controller) { SessionController.new }
let(:provider) { SwitchUser::Provider::Session.new(controller) }
- it_behaves_like "a provider"
+ it_behaves_like 'a provider'
end