From 4e5a7aa6bf9157fde88c74b6c92fc3387d0be839 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 12 Jan 2011 00:14:16 -0800 Subject: [PATCH] Fix order-dependent test --- test/vagrant/command/helpers_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/vagrant/command/helpers_test.rb b/test/vagrant/command/helpers_test.rb index 8f9a5ea0a..8fc2f06dc 100644 --- a/test/vagrant/command/helpers_test.rb +++ b/test/vagrant/command/helpers_test.rb @@ -52,7 +52,7 @@ class CommandHelpersTest < Test::Unit::TestCase should "return the VM if no name is specified" do instance = command([], @env) assert_nothing_raised { - assert_equal @env.vms.values, instance.target_vms + assert_equal @env.vms.values.sort, instance.target_vms.sort } end end @@ -64,7 +64,7 @@ class CommandHelpersTest < Test::Unit::TestCase should "return all the VMs if no name is specified" do instance = command([], @env) - assert_equal @env.vms.values, instance.target_vms + assert_equal @env.vms.values.sort, instance.target_vms.sort end should "return only the specified VM if a name is given" do