From: David Lutterkort <lut...@redhat.com> --- tests/cimi/test_helper.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/cimi/test_helper.rb b/tests/cimi/test_helper.rb index 6d2b79a..b19dd9e 100644 --- a/tests/cimi/test_helper.rb +++ b/tests/cimi/test_helper.rb @@ -355,7 +355,7 @@ module CIMI::Test::Methods coll.href.must_be_uri "#{root} collection" model = fetch(coll.href) last_response.code.must_equal 200 - if last_response.headers[:content_type].eql?("application/json") + if last_response.content_type.eql?("application/json") last_response.json["resourceURI"].wont_be_nil end else -- 1.7.7.6