File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -49,8 +49,9 @@ namespace :integration do
4949 unless File . exist? ( File . join ( it_path , 'Gemfile.lock' ) )
5050 raise "bundle not installed, run `rake integration:install'"
5151 end
52- loader = "ARGV.each { |f| require f }" ; lib = [ 'lib' , it_path ]
52+ loader = "ARGV.each { |f| require f }"
53+ lib = [ File . expand_path ( '../lib' , __FILE__ ) , it_path ]
5354 test_files = FileList [ 'src/test/integration/*_test.rb' ] . map { |path | path . sub ( 'src/test/integration/' , '' ) }
54- ruby "-I#{ lib . join ( ':' ) } -C src/test/integration -rbundler/setup - e \" #{ loader } \" #{ test_files . map { |f | "\" #{ f } \" " } . join ( ' ' ) } "
55+ ruby "-I#{ lib . join ( ':' ) } -C src/test/integration -e \" #{ loader } \" #{ test_files . map { |f | "\" #{ f } \" " } . join ( ' ' ) } "
5556 end
5657end
You can’t perform that action at this time.
0 commit comments