Merge pull request #12182 from soapy1/fix-minimal-vagrantfile-test
Fix minimal Vagrantfile test
This commit is contained in:
commit
08bbff7bf9
2
.github/workflows/testing.yml
vendored
2
.github/workflows/testing.yml
vendored
@ -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'
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user