Sha256: 5f6a63987abcca46647f8ecb38c84a85c2101ce5cec297796d71cfa1979a92db

Contents?: true

Size: 490 Bytes

Versions: 1

Compression:

Stored size: 490 Bytes

Contents

namespace :acceptance do
  desc "shows components that can be tested"
  task :components do
    exec("vagrant-spec components --config=vagrant-spec.config.rb")
  end

  desc "runs acceptance tests"
  task :run do
    args = [
      "--config=vagrant-spec.config.rb",
    ]

    if ENV["COMPONENTS"]
      args << "--components=\"#{ENV["COMPONENTS"]}\""
    end

    command = "vagrant-spec test #{args.join(" ")}"
    puts command
    puts
    exec(command)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-cloudstack-1.2.0 vendor/bundle/bundler/gems/vagrant-c84e05fd063f/tasks/acceptance.rake