Sha256: 43c1186dded5f33763176b533a79620d33e59c0587022a1a58b30d727f457df9
Contents?: true
Size: 511 Bytes
Versions: 4
Compression:
Stored size: 511 Bytes
Contents
# frozen_string_literal: true ENV['RAILS_ENV'] = 'test' require 'support/provider' require 'support/application' require 'rspec/rails' require 'switch_user' require 'pry' require 'awesome_print' RSpec.configure do |config| config.filter_run focus: true config.run_all_when_everything_filtered = true config.use_transactional_fixtures = true config.expose_dsl_globally = false end class TestController def session @session_hash ||= {} end def reset_session @session_hash = {} end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
switch_user-1.5.4 | spec/spec_helper.rb |
switch_user-1.5.3 | spec/spec_helper.rb |
switch_user-1.5.2 | spec/spec_helper.rb |
switch_user-1.5.1 | spec/spec_helper.rb |