You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2013/03/01 11:23:31 UTC
[1/3] git commit: Core: Corrected error message in in instances
collection test
Core: Corrected error message in in instances collection test
Signed-off-by: Michal fojtik <mf...@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 <mf...@redhat.com>
Authored: Mon Jan 14 13:10:08 2013 +0100
Committer: Michal fojtik <mf...@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'