mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
Default RAILS_ENV to 'test'
This commit is contained in:
parent
c3c853a944
commit
260189b8ab
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,8 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
|||
$LOAD_PATH.unshift(File.join(Gem.loaded_specs['kaminari-core'].gem_dir, 'test'))
|
||||
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
||||
|
||||
ENV['RAILS_ENV'] ||= 'test'
|
||||
|
||||
require 'rails'
|
||||
require 'active_record'
|
||||
|
||||
|
|
Loading…
Reference in a new issue