spec/unit/berkshelf/ui_spec.rb in berkshelf-1.4.0.rc1 vs spec/unit/berkshelf/ui_spec.rb in berkshelf-1.4.0

- old
+ new

@@ -90,10 +90,11 @@ before do subject.stub(:quiet?).and_return(false) end it 'calls #say with yellow coloring' do - stdout.should_receive(:puts).with("\e[33mwarning\e[0m") + stdout.stub :tty? + stdout.should_receive(:puts).with("warning") stdout.should_receive(:flush).with(no_args()) subject.warn 'warning' end end end