The restart command was moved to after the loop

This commit is contained in:
Trey Tabner 2018-05-30 11:00:58 -05:00 committed by GitHub
parent 59474f80fd
commit 9197036499
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ describe "VagrantPlugins::GuestDebian::Cap::ConfigureNetworks" do
expect(comm.received_commands[0]).to match("mv -f '/tmp/vagrant-network-entry.*' '/etc/systemd/network/.*network'")
expect(comm.received_commands[0]).to match("chown")
expect(comm.received_commands[0]).to match("chmod")
expect(comm.received_commands[0]).to match("systemctl restart")
expect(comm.received_commands[2]).to match("systemctl restart")
end
end