Use a real iso env for push tests

This commit is contained in:
Seth Vargo 2015-02-03 19:19:58 -05:00
parent edbc3e74d4
commit 0dde0b3756
1 changed files with 10 additions and 3 deletions

View File

@ -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