Merge pull request #12182 from soapy1/fix-minimal-vagrantfile-test

Fix minimal Vagrantfile test
This commit is contained in:
Sophia Castellarin 2021-02-19 14:47:04 -06:00 committed by GitHub
commit 08bbff7bf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ on:
- 'lib/**'
- 'plugins/**'
- 'test/**'
- 'templates/**'
- 'Gemfile'
- 'vagrant.gemspec'
- 'Rakefile'
@ -20,6 +21,7 @@ on:
- 'plugins/**'
- 'test/**'
- 'Gemfile'
- 'templates/**'
- 'vagrant.gemspec'
- 'Rakefile'

View File

@ -33,7 +33,6 @@ describe VagrantPlugins::CommandInit::Command do
it "creates a minimal Vagrantfile" do
described_class.new(["-m"], env).execute
contents = File.read(vagrantfile_path)
expect(contents).to_not match(/#/)
expect(contents).to_not match(/provision/)
end