spec/spec_helper.rb in cistern-0.12.3 vs spec/spec_helper.rb in cistern-1.0.0.pre

- old
+ new

@@ -2,13 +2,16 @@ require "codeclimate-test-reporter" CodeClimate::TestReporter.start end require File.expand_path('../../lib/cistern', __FILE__) +Dir[File.expand_path("../{support,shared,matchers,fixtures}/*.rb", __FILE__)].each{|f| require(f)} Bundler.require(:test) 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