lib/anyway/testing.rb in anyway_config-2.0.2 vs lib/anyway/testing.rb in anyway_config-2.0.3
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
require "anyway/testing/helpers"
-if defined?(RSpec)
+if defined?(RSpec::Core)
RSpec.configure do |config|
config.include(
Anyway::Testing::Helpers,
type: :config,
file_path: %r{spec/configs}