Sha256: 6a5033ec17e2f4c64eb72524b5592a6145d44975d23de92e6c28cb534ac498ca
Contents?: true
Size: 616 Bytes
Versions: 4
Compression:
Stored size: 616 Bytes
Contents
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require "active_record_helper" require 'rspec/rails' require 'acts_as_tenant' RSpec.configure do |config| config.after(:each) do ActsAsTenant.current_tenant = nil end config.infer_base_class_for_anonymous_controllers = true end # Setup a test app module Rollcall class Application < Rails::Application; end end Rollcall::Application.config.secret_token = '1234567890123456789012345678901234567890' Rollcall::Application.config.secret_key_base = '1234567890123456789012345678901234567890'
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
acts_as_tenant-0.4.4 | spec/spec_helper.rb |
acts_as_tenant-0.4.3 | spec/spec_helper.rb |
acts_as_tenant-0.4.2 | spec/spec_helper.rb |
acts_as_tenant-0.4.1 | spec/spec_helper.rb |