BUILDR-705 - Avoid attempting to load rspec classes unless Buildr.rspec_present?...
authorPeter Donald <peter@realityforge.org>
Sat, 6 Jun 2015 00:31:28 +0000 (10:31 +1000)
committerPeter Donald <peter@realityforge.org>
Sat, 6 Jun 2015 00:31:28 +0000 (10:31 +1000)
Reported By rbpandey.

CHANGELOG
lib/buildr/java/test_result.rb

index 8861c05..83d00d0 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,8 @@
 * Change: BUILDR-706 - Update the checkstyle addon use checkstyle 6.6. Submitted
           by Dieter Vrancken.
 * Fixed:  Fix Buildr.rspec_present? so that it works under jruby 1.6.7.2
+* Change: BUILDR-705 - Avoid attempting to load rspec classes unless Buildr.rspec_present?
+          returns true. Reported By rbpandey.
 * Fixed:  Remove debug output left in ipr.sql_dialect_mappings.
 
 1.4.22 (2015-02-28)
index 979142c..84037d1 100644 (file)
 
 # It is necessary to require these files here as the bdd plugin directly includes this file
 require 'yaml'
-begin
-  require 'rspec/core/formatters/base_formatter'
-rescue LoadError
-  # If Rspec is not present then assume we do no need Yaml formatter
-end
 
 module Buildr #:nodoc:
   module TestFramework #:nodoc: