spec/extensions/spec_helper.rb in sequel-4.5.0 vs spec/extensions/spec_helper.rb in sequel-4.6.0

- old
+ new

@@ -35,10 +35,12 @@ def skip_warn(s) warn "Skipping test of #{s}" if ENV["SKIPPED_TEST_WARN"] end -(defined?(RSpec) ? RSpec::Core::ExampleGroup : Spec::Example::ExampleGroup).class_eval do +require File.join(File.dirname(File.expand_path(__FILE__)), "../rspec_helper.rb") + +RSPEC_EXAMPLE_GROUP.class_eval do if ENV['SEQUEL_DEPRECATION_WARNINGS'] class << self alias qspecify specify end else