File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,9 @@ def test_files
3636 elsif ENV [ 'AREL_ONLY' ]
3737 arel_cases
3838 else
39- arel_cases + sqlserver_cases + ( ar_cases - adapter_cases )
39+ test_setup + arel_cases + sqlserver_cases + ( ar_cases - adapter_cases )
4040 end
41+
4142end
4243
4344task :test => [ 'test:dblib' ]
Original file line number Diff line number Diff line change 44SQLSERVER_MIGRATIONS_ROOT = File . expand_path ( File . join ( SQLSERVER_TEST_ROOT , 'migrations' ) )
55SQLSERVER_SCHEMA_ROOT = File . expand_path ( File . join ( SQLSERVER_TEST_ROOT , 'schema' ) )
66ACTIVERECORD_TEST_ROOT = File . expand_path ( File . join ( Gem . loaded_specs [ 'activerecord' ] . full_gem_path , 'test' ) )
7+ AREL_TEST_ROOT = File . expand_path ( File . join ( Gem . loaded_specs [ 'arel' ] . full_gem_path , 'test' ) )
8+
79ENV [ 'ARCONFIG' ] = File . expand_path ( File . join ( SQLSERVER_TEST_ROOT , 'config.yml' ) )
810
911$:. unshift ACTIVERECORD_TEST_ROOT
12+ $LOAD_PATH. unshift AREL_TEST_ROOT
1013
1114require 'rubygems'
1215require 'bundler'
You can’t perform that action at this time.
0 commit comments