Check that you don’t have a .rspec or .rspec.local file overwriting the 
spec_helper option with `—no-color`, and check your terminal displays colours 
correctly with `echo -e '\e[31mHello World\e[0m’` (you should see red text).

If the later doesn’t display in red then your terminal settings need tweaking, 
otherwise if it does and you’ve checked you’re not overriding the option then 
can you open an issue on http://github.com/rspec/rspec-core.  

Jon Rowe
---------------------------
[email protected]
jonrowe.co.uk


On Tuesday, 2 September 2014 at 15:35, Arup Rakshit wrote:

> Hi,
>  
> I have the below code in my spec/spec_helper.rb file.
>  
> RSpec.configure do |c|
> c.color_enabled = true
> c.tty = true
> c.formatter = :documentation
> end
>  
> But when I am running my tests, I am not getting RED/GREEN default colors.  
> Here is the image - http://s10.postimg.org/lw7z98fjt/vim1.png
>  
> I am using openSUSE 13.1 KDE.
>  
> --  
> ================
> Regards,
> Arup Rakshit
> ================
> Debugging is twice as hard as writing the code in the first place. Therefore, 
>  
> if you write the code as cleverly as possible, you are, by definition, not  
> smart enough to debug it.
>  
> --Brian Kernighan
>  
> --  
> You received this message because you are subscribed to the Google Groups 
> "rspec" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> (mailto:[email protected]).
> To post to this group, send email to [email protected] 
> (mailto:[email protected]).
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rspec/1989124.K4R3IjLfy1%40linux-wzza.site.
> For more options, visit https://groups.google.com/d/optout.
>  
>  


-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rspec/A9E3F7AEB2DC4FC88A4CFAD07A33FE59%40jonrowe.co.uk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to