deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject [12/15] git commit: Remove duplicate test (deltacloud server common tests)
Date Thu, 08 Nov 2012 17:13:51 GMT
Remove duplicate test (deltacloud server common tests)

Signed-off-by: marios <marios@redhat.com>
TrackedAt: http://tracker-mfojtik.rhcloud.com/patch/1b2e8da1c3cbf7a5163cafe44d287e86da402c8c


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

Branch: refs/heads/master
Commit: 9f67dc52e7283435896f7b9d480e41594a6e6fd1
Parents: 5423bb5
Author: marios <marios@redhat.com>
Authored: Mon Nov 5 17:09:00 2012 +0200
Committer: David Lutterkort <lutter@redhat.com>
Committed: Thu Nov 8 09:11:01 2012 -0800

----------------------------------------------------------------------
 tests/deltacloud/common_tests_collections.rb |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/9f67dc52/tests/deltacloud/common_tests_collections.rb
----------------------------------------------------------------------
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


Mime
View raw message