deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [1/3] git commit: Core: Corrected error message in in instances collection test
Date Fri, 01 Mar 2013 10:23:31 GMT
Core: Corrected error message in in instances collection test

Signed-off-by: Michal fojtik <mfojtik@redhat.com>
TrackedAt: http://tracker.deltacloud.org/patch/f18b28742b50c88534a74d345a7f20b37324cdc3


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/75e3db4c
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/75e3db4c
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/75e3db4c

Branch: refs/heads/master
Commit: 75e3db4c37ad7b9b5e2b7580f293ce9d6fd2c7c6
Parents: 8784edc
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Mon Jan 14 13:10:08 2013 +0100
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Fri Mar 1 11:23:04 2013 +0100

----------------------------------------------------------------------
 .../collections/instances_collection_test.rb       |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/75e3db4c/server/tests/deltacloud/collections/instances_collection_test.rb
----------------------------------------------------------------------
diff --git a/server/tests/deltacloud/collections/instances_collection_test.rb b/server/tests/deltacloud/collections/instances_collection_test.rb
index 4186f2c..f194cd9 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
     (xml/'instance/state').first.text.strip.must_equal 'RUNNING'


Mime
View raw message