Fix tests
This commit is contained in:
parent
cabacae4cb
commit
6883109d27
|
@ -83,7 +83,6 @@ describe Vagrant::Action::Builtin::SyncedFolders do
|
||||||
|
|
||||||
"other" => {
|
"other" => {
|
||||||
hostpath: "/bar",
|
hostpath: "/bar",
|
||||||
create: true,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -110,7 +109,6 @@ describe Vagrant::Action::Builtin::SyncedFolders do
|
||||||
|
|
||||||
"other" => {
|
"other" => {
|
||||||
hostpath: "/bar",
|
hostpath: "/bar",
|
||||||
create: true,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -190,7 +188,7 @@ describe Vagrant::Action::Builtin::SyncedFolders do
|
||||||
env[:synced_folders_config] = new_config
|
env[:synced_folders_config] = new_config
|
||||||
|
|
||||||
expect(subject).to receive(:synced_folders).
|
expect(subject).to receive(:synced_folders).
|
||||||
with(machine, new_config, cached: false).
|
with(machine, config: new_config, cached: false).
|
||||||
and_return(synced_folders)
|
and_return(synced_folders)
|
||||||
|
|
||||||
subject.call(env)
|
subject.call(env)
|
||||||
|
|
Loading…
Reference in New Issue