spec/spec_helper.rb in cistern-2.6.0 vs spec/spec_helper.rb in cistern-2.7.0

- old
+ new

@@ -14,9 +14,10 @@ if Kernel.respond_to?(:caller_locations) require File.expand_path('../../lib/cistern/coverage', __FILE__) else rspec.filter_run_excluding(:coverage) end + rspec.around(:each, :deprecated) do |example| original_value = Cistern.deprecation_warnings? Cistern.deprecation_warnings = false example.run Cistern.deprecation_warnings = original_value