Skip to content

Commit

Permalink
Fix #371, change require => load
Browse files Browse the repository at this point in the history
Signed-off-by: Seth Thomas <[email protected]>
  • Loading branch information
Seth Thomas committed Sep 11, 2018
1 parent c204d7e commit 07732eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions spec/kitchen/driver/vagrant_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1023,9 +1023,9 @@ def run_command(_cmd, options = {})
cmd

expect(vagrantfile).to match(regexify(<<-RUBY.gsub(/^ {8}/, "").chomp))
require "/a"
require "/b"
require "/c"
load "/a"
load "/b"
load "/c"
RUBY
end

Expand Down
2 changes: 1 addition & 1 deletion templates/Vagrantfile.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% config[:vagrantfiles].each do |vagrantfile| %>
require "<%= vagrantfile %>"
load "<%= vagrantfile %>"
<% end %>

Vagrant.configure("2") do |c|
Expand Down

0 comments on commit 07732eb

Please sign in to comment.