From 659863fea8ec331730535c6d6525665f76bfe10a Mon Sep 17 00:00:00 2001 From: Clayton Coleman Date: Sat, 30 Mar 2013 23:34:43 -0400 Subject: [PATCH] Properly reset formatter after execution --- spec/rhc/helpers_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/rhc/helpers_spec.rb b/spec/rhc/helpers_spec.rb index 618202601..5429e90b2 100644 --- a/spec/rhc/helpers_spec.rb +++ b/spec/rhc/helpers_spec.rb @@ -57,7 +57,7 @@ def config shared_examples_for "colorized output" do it("should be colorized") do - message = "this is #{_color}" + message = "this is #{_color} -" output = capture{ subject.send(method,message) } output.should be_colorized(message,_color) end @@ -258,6 +258,7 @@ def config context "Formatter" do before{ tests.reset } + after(:all){ tests.reset } it "should print out a paragraph with open endline on the same line" do tests.section_same_line