From: Michal Fojtik <[email protected]>
Signed-off-by: Michal fojtik <[email protected]> --- 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
