File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -60,10 +60,8 @@ namespace :integration do
60
60
unless File . exist? ( File . join ( it_path , 'Gemfile.lock' ) )
61
61
raise "bundle not installed, run `rake integration:install'"
62
62
end
63
- loader = "ARGV.each { |f| require f }"
64
- test_files = FileList [ 'src/test/integration/*_test.rb' ] . to_a
65
- test_files . map! { |path | path . sub ( 'src/test/integration/' , '' ) }
66
- lib = [ 'lib' , 'src/test/integration' ]
67
- ruby "-I#{ lib . join ( ':' ) } -e \" #{ loader } \" #{ test_files . map { |f | "\" #{ f } \" " } . join ( ' ' ) } "
63
+ loader = "ARGV.each { |f| require f }" ; lib = [ 'lib' , it_path ]
64
+ test_files = FileList [ 'src/test/integration/*_test.rb' ] . map { |path | path . sub ( 'src/test/integration/' , '' ) }
65
+ ruby "-I#{ lib . join ( ':' ) } -C src/test/integration -e \" #{ loader } \" #{ test_files . map { |f | "\" #{ f } \" " } . join ( ' ' ) } "
68
66
end
69
67
end
You can’t perform that action at this time.
0 commit comments