Start acceptance test config stuff

This commit is contained in:
Mitchell Hashimoto 2013-12-05 13:19:15 -08:00
parent 6b1493ec3f
commit dbfce21e05
5 changed files with 9 additions and 0 deletions

1
.gitignore vendored
View File

@ -6,6 +6,7 @@ acceptance_config.yml
boxes/*
/Vagrantfile
/.vagrant
/vagrant-spec.config.rb
# Bundler/Rubygems
*.gem

View File

@ -1,3 +1,5 @@
source "http://rubygems.org"
gemspec
gem 'vagrant-spec', path: "../vagrant-spec"

View File

@ -13,6 +13,7 @@ namespace :test do
end
RSpec::Core::RakeTask.new(:acceptance) do |t|
$: << File.expand_path("../test/acceptance", __FILE__)
t.pattern = "test/acceptance/**/*_test.rb"
end
end

1
test/acceptance/base.rb Normal file
View File

@ -0,0 +1 @@
require "vagrant-testlib/acceptance"

View File

@ -0,0 +1,4 @@
Vagrant::Spec::Acceptance.configure do |c|
c.provider "virtualbox",
box_basic: "/Users/mitchellh/Downloads/package.box"
end