From: David Lutterkort <lut...@redhat.com> --- tests/cimi/cep_test.rb | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/tests/cimi/cep_test.rb b/tests/cimi/cep_test.rb index fcac30d..24e19bf 100644 --- a/tests/cimi/cep_test.rb +++ b/tests/cimi/cep_test.rb @@ -66,7 +66,8 @@ class CloundEntryPointBehavior < CIMI::Test::Spec query_the_cep(ROOTS) - # Testing "*/*" Accept Headers returns json output - response = RestClient.get(api.cep_url, "Accept" => "*/*") - log.info( " */* accept headers return: " + response.json.to_s() ) + it "should handle Accept of */*", :only => :json do + response = RestClient.get(api.cep_url, "Accept" => "*/*") + response.content_type.must_be_one_of CONTENT_TYPES.values + end end -- 1.7.7.6