spec/spec_helper.rb in hydra-access-controls-9.1.3 vs spec/spec_helper.rb in hydra-access-controls-9.1.4
- old
+ new
@@ -6,9 +6,11 @@
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
Hydra::Engine.config.autoload_paths.each { |path| $LOAD_PATH.unshift path }
+require 'byebug' unless ENV['CI']
+
if ENV['COVERAGE'] and RUBY_VERSION =~ /^1.9/
require 'simplecov'
require 'simplecov-rcov'
SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter