From e6006eacfac6b93c01d33e6086c85fcb64202d94 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 13 Apr 2010 15:55:56 -0700 Subject: [PATCH] Init execute test --- test/vagrant/commands/init_test.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/vagrant/commands/init_test.rb b/test/vagrant/commands/init_test.rb index fc7829947..13a7f4cb0 100644 --- a/test/vagrant/commands/init_test.rb +++ b/test/vagrant/commands/init_test.rb @@ -9,7 +9,11 @@ class CommandsInitTest < Test::Unit::TestCase end context "execute" do - # TODO + should "create the vagrantfile with the first arg" do + args = [:foo] + @instance.expects(:create_vagrantfile).with(args.first) + @instance.execute(args) + end end context "creating the vagrantfile" do