lib/switch_user/rspec.rb in switch_user-1.4.0 vs lib/switch_user/rspec.rb in switch_user-1.5.0

- old
+ new

@@ -2,12 +2,12 @@ require 'rspec/core' RSpec.configure do |config| - config.include SwitchUser::RSpecFeatureHelpers, :type => :feature + config.include SwitchUser::RSpecFeatureHelpers, type: :feature - config.before(:each, :type => :feature) do + config.before(:each, type: :feature) do allow_any_instance_of(SwitchUserController).to receive(:available?).and_return(true) end end