rspec/rspec-core — pull request #533 by AlexKVal (2011-12-07 20:48:53+00:00)
Title: fix for some tests failing on 1.9.1

± rvm current
ruby-1.9.1-p378@rspec-core
With clean rspec/rspec-core master (w/o my changes)

bundle exec rake

And there is some failing tests.
This patch fix them.

diff text_mate_formatted-1.9.2.html text_mate_formatted-1.9.3.html
returns nothing, so i've added ruby version checking line.

For HTML formatter: html_formatter_spec.rb:8
describe HtmlFormatter, :if => RUBY_VERSION =~ /^(1.8.7|1.9.2|1.9.3)$/ do
Question: if the RSpec is supporting 1.9.1, then HTML formatter needs version checking line also
and inclusion of 1.9.1 into ":if => ..." ?