thumblemonks / riot

Riot is a fast, expressive, and contextual ruby unit testing framework
http://thumblemonks.github.com/riot/
MIT License
314 stars 28 forks source link

Add a small fix to disable ANSI colors in reporters on Windows #32

Closed RyanScottLewis closed 13 years ago

RyanScottLewis commented 13 years ago

This little code ends up in about 80% of my teststrap.

gus commented 13 years ago

I had forgotten all about the Unfortunates with Windows :) Alright, we'll get this in there.

gus commented 13 years ago

So ... I realized that I also wanted this for when I run my continuous integration tests, so I wrote support for plain into Riot (plain-patch branch). Let me know what you think.

To enable plain, you can add the following to wherever:

Riot.plain!
RyanScottLewis commented 13 years ago

so Riot.plain! in my teststrap.rb? Sounds good!

gus commented 13 years ago

Okee doke, 0.12.4 has been pushed out.

Cheers, Gus