RUBY-15024: check for rspec 2 changed to work with ruby 1.8 and in teamcity