Sha256: 6c716194b9fe798a4097582827574f71e4d630656f6226f8d6d61c9490dc61d9

Contents?: true

Size: 304 Bytes

Versions: 1

Compression:

Stored size: 304 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
switch_user-1.5.0 lib/switch_user/rspec.rb