From 1ebfc49db4f82e4c23a089a6c9508e5b499fdd74 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 2 Aug 2010 19:40:41 -0700 Subject: [PATCH] Fix failing tests due to init change --- test/vagrant/commands/init_test.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/vagrant/commands/init_test.rb b/test/vagrant/commands/init_test.rb index b972b114b..8655b4a09 100644 --- a/test/vagrant/commands/init_test.rb +++ b/test/vagrant/commands/init_test.rb @@ -53,7 +53,7 @@ class CommandsInitTest < Test::Unit::TestCase should "use the given base box if given" do box = "zooo" - Vagrant::Util::TemplateRenderer.expects(:render).with(Vagrant::Environment::ROOTFILE_NAME, :default_box => box, :default_box_url => nil) + Vagrant::Util::TemplateRenderer.expects(:render).with(Vagrant::Environment::ROOTFILE_NAME, :default_box => box) @instance.create_vagrantfile :default_box => box end @@ -64,10 +64,8 @@ class CommandsInitTest < Test::Unit::TestCase end should "use the default `base` if no box is given" do - Vagrant::Util::TemplateRenderer.expects(:render).with(Vagrant::Environment::ROOTFILE_NAME, :default_box => "base", :default_box_url => nil) + Vagrant::Util::TemplateRenderer.expects(:render).with(Vagrant::Environment::ROOTFILE_NAME, :default_box => "base") @instance.create_vagrantfile end - - end end