spec/spec_helper.rb in hydra-derivatives-0.1.1 vs spec/spec_helper.rb in hydra-derivatives-1.0.0.beta1

- old
+ new

@@ -2,9 +2,14 @@ # - RSpec adds ./lib to the $LOAD_PATH require 'hydra/derivatives' #Resque.inline = Rails.env.test? require 'byebug' unless ENV['TRAVIS'] +require 'active_fedora/cleaner' +ActiveFedora::Base.logger = Logger.new(STDOUT) RSpec.configure do |config| + config.before(:each) do + ActiveFedora::Cleaner.clean! + end end $in_travis = !ENV['TRAVIS'].nil? && ENV['TRAVIS'] == 'true'