lib/switch_user/rspec.rb in switch_user-1.5.0 vs lib/switch_user/rspec.rb in switch_user-1.5.1
- old
+ new
@@ -1,13 +1,13 @@
+# frozen_string_literal: true
+
require 'switch_user/rspec/feature_helpers'
require 'rspec/core'
RSpec.configure do |config|
-
config.include SwitchUser::RSpecFeatureHelpers, type: :feature
config.before(:each, type: :feature) do
allow_any_instance_of(SwitchUserController).to receive(:available?).and_return(true)
end
-
end