Use a real iso env for push tests
This commit is contained in:
parent
edbc3e74d4
commit
0dde0b3756
|
@ -8,10 +8,17 @@ describe VagrantPlugins::AtlasPush::Push do
|
||||||
|
|
||||||
let(:bin) { VagrantPlugins::AtlasPush::Push::UPLOADER_BIN }
|
let(:bin) { VagrantPlugins::AtlasPush::Push::UPLOADER_BIN }
|
||||||
|
|
||||||
|
# let(:env) do
|
||||||
|
# double("env",
|
||||||
|
# root_path: File.expand_path("..", __FILE__)
|
||||||
|
# )
|
||||||
|
# end
|
||||||
|
|
||||||
let(:env) do
|
let(:env) do
|
||||||
double("env",
|
# We have to create a Vagrantfile so there is a root path
|
||||||
root_path: File.expand_path("..", __FILE__)
|
env = isolated_environment
|
||||||
)
|
env.vagrantfile("")
|
||||||
|
env.create_vagrant_env
|
||||||
end
|
end
|
||||||
|
|
||||||
let(:config) do
|
let(:config) do
|
||||||
|
|
Loading…
Reference in New Issue