deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@redhat.com
Subject [PATCH 1/6] Remove duplicate test (deltacloud server common tests)
Date Wed, 07 Nov 2012 00:49:00 GMT
From: marios <marios@redhat.com>

Signed-off-by: marios <marios@redhat.com>
TrackedAt: http://tracker-mfojtik.rhcloud.com/patch/1b2e8da1c3cbf7a5163cafe44d287e86da402c8c
---
 tests/deltacloud/common_tests_collections.rb |    7 -------
 1 files changed, 0 insertions(+), 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.7.6


Mime
View raw message