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
49
49
unless File . exist? ( File . join ( it_path , 'Gemfile.lock' ) )
50
50
raise "bundle not installed, run `rake integration:install'"
51
51
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 ]
53
54
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 ( ' ' ) } "
55
56
end
56
57
end
You can’t perform that action at this time.
0 commit comments