diff --git a/prophet/prophet.rb b/prophet/prophet.rb index 9866ab21e..2528da0be 100755 --- a/prophet/prophet.rb +++ b/prophet/prophet.rb @@ -70,7 +70,7 @@ config.execution do log.info 'Running tests ...' - system("cd ..; (bundle.ruby2.4 check || bundle.ruby2.4 install) && bundle.ruby2.4 exec rake spec:unit") + system("cd ..; (bundle.ruby2.4 check || bundle.ruby2.4 install) && bundle.ruby2.4 exec rake.ruby2.4 spec:unit") config.success = ($? == 0) log.info "Tests are #{config.success ? 'passing' : 'failing'}." diff --git a/prophet/prophet_integration.rb b/prophet/prophet_integration.rb index 0753567bb..45de333c1 100755 --- a/prophet/prophet_integration.rb +++ b/prophet/prophet_integration.rb @@ -79,8 +79,8 @@ log.info "Running tests ..." system( - "cd ..; (bundle.ruby2.4 check || bundle.ruby2.4 bundle install) && bundle.ruby2.4 exec rake rpm:build &&" \ - "SPEC_OPTS='--tag ~matrix:pending' bundle.ruby2.4 exec rake spec:integration:acceptance" + "cd ..; (bundle.ruby2.4 check || bundle.ruby2.4 bundle install) && bundle.ruby2.4 exec rake.ruby2.4 rpm:build &&" \ + "SPEC_OPTS='--tag ~matrix:pending' bundle.ruby2.4 exec rake.ruby2.4 spec:integration:acceptance" ) config.success = ($? == 0)