diff options
author | Nicolas Dupeux <nicolas.dupeux@arkea.com> | 2014-10-06 16:07:14 +0200 |
---|---|---|
committer | Nicolas Dupeux <nicolas.dupeux@arkea.com> | 2014-10-06 16:07:14 +0200 |
commit | f04307206eb91e505761f8ef933f0932b7df99c9 (patch) | |
tree | d6f97f14988940bb2959f521e102304e333fde09 /spec | |
parent | bd926141b079357c770b08dafb4dac4933ff3b3b (diff) | |
download | chef-f04307206eb91e505761f8ef933f0932b7df99c9.tar.gz |
Remove highline from status test
knife status doesn't use highline anymore.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/knife/status_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/unit/knife/status_spec.rb b/spec/unit/knife/status_spec.rb index 6d8d9d5b25..bb43dd25e5 100644 --- a/spec/unit/knife/status_spec.rb +++ b/spec/unit/knife/status_spec.rb @@ -17,7 +17,6 @@ # require 'spec_helper' -require 'highline' describe Chef::Knife::Status do before(:each) do @@ -30,7 +29,7 @@ describe Chef::Knife::Status do Chef::Search::Query.stub(:new).and_return(query) @knife = Chef::Knife::Status.new @stdout = StringIO.new - @knife.stub(:highline).and_return(HighLine.new(StringIO.new, @stdout)) + @knife.ui.stub(:stdout).and_return(@stdout) end describe "run" do |