Sha256: 0fe7b7eaced77a0f18bcca03e293f9bb25858c3859504169e2586d40e85b0511
Contents?: true
Size: 672 Bytes
Versions: 1
Compression:
Stored size: 672 Bytes
Contents
require "bundler/gem_tasks" require 'rspec/core/rake_task' namespace :spec do desc 'Run acceptance specs using Bats' task :acceptance do components = %w( basic network/forwarded_port synced_folder synced_folder/nfs provisioner/shell provisioner/puppet provisioner/chef-solo ).map{|s| "provider/docker/#{s}" } sh "bundle exec vagrant-spec test --components=#{components.join(' ')}" end require 'rspec/core/rake_task' desc "Run unit specs using RSpec" RSpec::Core::RakeTask.new('unit') do |t| t.pattern = "./unit/**/*_spec.rb" end end desc 'Run all specs' task :spec => ['spec:unit', 'spec:acceptance'] task :default => 'spec'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
docker-provider-0.1.0 | Rakefile |