spec/spec_helper.rb in cistern-0.5.4 vs spec/spec_helper.rb in cistern-0.5.6

- old
+ new

@@ -1,6 +1,13 @@ require File.expand_path('../../lib/cistern', __FILE__) Bundler.require(:test) -RSpec.configure do +RSpec.configure do |c| + c.treat_symbols_as_metadata_keys_with_true_values = true + + if Kernel.respond_to?(:caller_locations) + require File.expand_path('../../lib/cistern/coverage', __FILE__) + else + c.filter_run_excluding(:coverage) + end end