Update machine mock to provide #name

This commit is contained in:
Jeff Bonhag 2019-12-10 11:59:24 -05:00
parent 31ec5c540f
commit 2873b637b6
No known key found for this signature in database
GPG Key ID: 32966F3FB5AC1129
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ require_relative '../base'
describe VagrantPlugins::ProviderVirtualBox::Action::CleanMachineFolder do
let(:app) { double("app") }
let(:driver) { double("driver") }
let(:machine) { double("machine", provider: double("provider", driver: driver)) }
let(:machine) { double("machine", provider: double("provider", driver: driver), name: "") }
let(:env) {
{ machine: machine }
}