Start acceptance test config stuff
This commit is contained in:
parent
6b1493ec3f
commit
dbfce21e05
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,6 +6,7 @@ acceptance_config.yml
|
||||
boxes/*
|
||||
/Vagrantfile
|
||||
/.vagrant
|
||||
/vagrant-spec.config.rb
|
||||
|
||||
# Bundler/Rubygems
|
||||
*.gem
|
||||
|
||||
2
Gemfile
2
Gemfile
@ -1,3 +1,5 @@
|
||||
source "http://rubygems.org"
|
||||
|
||||
gemspec
|
||||
|
||||
gem 'vagrant-spec', path: "../vagrant-spec"
|
||||
|
||||
@ -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
1
test/acceptance/base.rb
Normal file
@ -0,0 +1 @@
|
||||
require "vagrant-testlib/acceptance"
|
||||
4
vagrant-spec.config.example.rb
Normal file
4
vagrant-spec.config.example.rb
Normal file
@ -0,0 +1,4 @@
|
||||
Vagrant::Spec::Acceptance.configure do |c|
|
||||
c.provider "virtualbox",
|
||||
box_basic: "/Users/mitchellh/Downloads/package.box"
|
||||
end
|
||||
Loading…
x
Reference in New Issue
Block a user