deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@redhat.com
Subject [PATCH core 3/3] Core: Corrected error message in in instances collection test
Date Mon, 14 Jan 2013 12:15:15 GMT
From: Michal Fojtik <mfojtik@redhat.com>


Signed-off-by: Michal fojtik <mfojtik@redhat.com>
---
 server/tests/deltacloud/collections/instances_collection_test.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/tests/deltacloud/collections/instances_collection_test.rb b/server/tests/deltacloud/collections/instances_collection_test.rb
index 8db75e6..706ae85 100644
--- a/server/tests/deltacloud/collections/instances_collection_test.rb
+++ b/server/tests/deltacloud/collections/instances_collection_test.rb
@@ -45,7 +45,7 @@ describe Deltacloud::Collections::Instances do
     delete root_url + '/instances/' + instance_id
     status.must_equal 405
     # You can't remove RUNNING instance
-    (xml/'error/message').first.text.strip.must_equal 'Requested method not allowed'
+    (xml/'error/message').first.text.strip.must_equal 'Method Not Allowed'
     post root_url + '/instances/' + instance_id + '/reboot'
     status.must_equal 202
     post root_url + '/instances/' + instance_id + '/stop'
-- 
1.8.0.2


Mime
View raw message