Sha256: c72d8d9db0a5f221346e8e4a9a33a9eb79602a846f909dcdfbb69b93bff881c8
Contents?: true
Size: 310 Bytes
Versions: 3
Compression:
Stored size: 310 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
switch_user-1.4.0 | lib/switch_user/rspec.rb |
switch_user-1.3.1 | lib/switch_user/rspec.rb |
switch_user-1.3.0 | lib/switch_user/rspec.rb |