rspec/rspec-rails — pull request #1022 by cupakromer (2014-05-13 04:33:15+00:00)
Title: Only run `test:prepare` task if available.

Per comment on #949, check if the task is defined instead of switching only on the Rails version.