Skip to content

Commit

Permalink
Properly reset formatter after execution
Browse files Browse the repository at this point in the history
  • Loading branch information
smarterclayton committed Apr 8, 2013
1 parent e2396b5 commit 659863f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/rhc/helpers_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 659863f

Please sign in to comment.