spec/spec_helper.rb in polisher-0.8.1 vs spec/spec_helper.rb in polisher-0.9.1

- old
+ new

@@ -3,13 +3,25 @@ # Licensed under the MIT license # Copyright (C) 2013-2014 Red Hat, Inc. SPEC_DIR = File.expand_path File.dirname(__FILE__) +begin + require 'coveralls' + Coveralls.wear! +rescue LoadError +end + require 'polisher/rpm/spec' require 'polisher/gem_cache' RSpec.configure do |config| + # Run specs in random order to surface order dependencies. If you find an + # order dependency and want to debug it, you can fix the order by providing + # the seed, which is printed after each run. + # --seed 1234 + config.order = 'random' + config.after do Polisher::GemCache.clear! end end