You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by ma...@redhat.com on 2012/11/05 16:12:35 UTC

[PATCH 1/3] Remove duplicate test (deltacloud server common tests)

From: marios <ma...@redhat.com>


Signed-off-by: marios <ma...@redhat.com>
---
 tests/deltacloud/common_tests_collections.rb | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/tests/deltacloud/common_tests_collections.rb b/tests/deltacloud/common_tests_collections.rb
index 5c8af7f..5745296 100644
--- a/tests/deltacloud/common_tests_collections.rb
+++ b/tests/deltacloud/common_tests_collections.rb
@@ -43,13 +43,6 @@ module CommonCollectionsTest
         proc {  get(test_collection, :noauth => true) }.must_raise RestClient::Request::Unauthorized
       end
 
-      it 'should support the JSON media type' do
-        res = get(test_collection, :accept=>:json)
-        res.code.must_equal 200
-        res.headers[:content_type].must_equal 'application/json'
-        assert_silent {JSON.parse(res)}
-      end
-
       it 'must include the ETag in HTTP headers' do
         res = get(test_collection)
         res.headers[:etag].wont_be_nil
-- 
1.7.11.7