From f9ac29b0282587aa6e86e29e62a7a44c42c9ac6a Mon Sep 17 00:00:00 2001 From: Pavel Valena Date: Dec 20 2017 20:19:55 +0000 Subject: Use rake to run tests to resolve issues with requires. --- diff --git a/vagrant.spec b/vagrant.spec index ba2167f..fba7e78 100644 --- a/vagrant.spec +++ b/vagrant.spec @@ -184,8 +184,8 @@ sed -i '/^ context "with winrm communicator" do$/,/^ end$/ s/^/#/' \ # https://github.com/hashicorp/vagrant/issues/9273 mv test/unit/vagrant/util/env_test.rb{,.disable} -# Test suite must be executed in order. -find test/unit/ -name '*_test.rb' -type f | xargs rspec +# Rake solves the requires issues for tests +rake -f tasks/test.rake test:unit %pre