diff options
author | danielsdeleo <dan@opscode.com> | 2013-10-25 16:55:02 -0700 |
---|---|---|
committer | danielsdeleo <dan@opscode.com> | 2013-10-25 17:15:43 -0700 |
commit | dd1b9a4b8c7daf533778bd8d1b5f884ce5edc47e (patch) | |
tree | 9aae79250d867f3af208d2c79e79eef470a7f641 /spec | |
parent | ba5988b1981752ff7cbe9ae97fcf1653dd2d597f (diff) | |
download | chef-dd1b9a4b8c7daf533778bd8d1b5f884ce5edc47e.tar.gz |
Change content type warning to debug
There are certain legitimate cases where this occurs and nothing is
actually wrong, so don't bother users with it.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/integration/knife/raw_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/integration/knife/raw_spec.rb b/spec/integration/knife/raw_spec.rb index b7412e4e8a..69630061ac 100644 --- a/spec/integration/knife/raw_spec.rb +++ b/spec/integration/knife/raw_spec.rb @@ -214,13 +214,13 @@ EOM end it 'knife raw /blah returns the raw text' do - knife('raw /blah').should_succeed(<<EOM, :stderr => "WARN: Expected JSON response, but got content-type 'text'\n") + knife('raw /blah').should_succeed(<<EOM) { "x": "y", "a": "b" } EOM end it 'knife raw --no-pretty /blah returns the raw text' do - knife('raw --no-pretty /blah').should_succeed(<<EOM, :stderr => "WARN: Expected JSON response, but got content-type 'text'\n") + knife('raw --no-pretty /blah').should_succeed(<<EOM) { "x": "y", "a": "b" } EOM end |