rspec's coloration displays incorrectly in Windows. Example: C:\>rspec ... ←[36m # ./lib/github_teams/authentication.rb:82:in `github_api'←[0m ←[36m # ./lib/github_teams/authentication.rb:87:in `github'←[0m ←[36m # ./lib/github_teams/team.rb:10:in `initialize'←[0m ←[36m # ./spec/lib/github_teams/team_spec.rb:5:in `new'←[0m ←[36m # ./spec/lib/github_teams/team_spec.rb:5:in `block (2 levels) in <modu le:GithubTeams>'←[0m ←[36m # ./spec/lib/github_teams/team_spec.rb:15:in `block (3 levels) in <mod ule:GithubTeams>'←[0m
17) GithubTeams::Team#initialize sets the organization to the default from the oauth file if not specified ←[31mFailure/Error:←[0m ←[31mt = Team.new("test")←[0m ←[31mTypeError←[0m: ←[31mbind argument must be an instance of GithubTeams::GithubEmployeeSync ←[0m ←[36m # ./lib/github_teams/authentication.rb:82:in `new'←[0m ←[36m # ./lib/github_teams/authentication.rb:82:in `github_api'←[0m ←[36m # ./lib/github_teams/authentication.rb:87:in `github'←[0m ←[36m # ./lib/github_teams/team.rb:10:in `initialize'←[0m ←[36m # ./spec/lib/github_teams/team_spec.rb:10:in `new'←[0m ←[36m # ./spec/lib/github_teams/team_spec.rb:10:in `block (3 levels) in <mod ule:GithubTeams>'←[0m Finished in 0.01562 seconds The terminal characters appear to be written for Linux tty's. This wacky behavior is the same in Git Bash. Coloration *is* available in Windows; can we make the coloration more cross-platform compatible? Or could we at least turn off coloration in Windows environments? -- Cheers, Andrew Pennebaker www.yellosoft.us
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users