Sha256: 4e6ab24730ddf5f68e823d657155e71445cd52a1f1f9b8abc7d2ef71aa8b895b

Contents?: true

Size: 565 Bytes

Versions: 7

Compression:

Stored size: 565 Bytes

Contents

# frozen_string_literal: true

$LOAD_PATH.unshift(File.expand_path("../lib", __dir__))
require "deprecation_toolkit"
require "deprecation_toolkit/rspec_plugin"
require "active_support/all"

DeprecationToolkit::Configuration.test_runner = :rspec
DeprecationToolkit::Configuration.deprecation_path = "spec/deprecations"
ActiveSupport::Deprecation.behavior = :silence

RSpec.configure do |config|
  # Disable RSpec exposing methods globally on `Module` and `main`
  config.disable_monkey_patching!

  config.expect_with(:rspec) do |c|
    c.syntax = :expect
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
deprecation_toolkit-2.0.3 spec/spec_helper.rb
deprecation_toolkit-2.0.2 spec/spec_helper.rb
deprecation_toolkit-2.0.1 spec/spec_helper.rb
deprecation_toolkit-2.0.0 spec/spec_helper.rb
deprecation_toolkit-1.5.1 spec/spec_helper.rb
deprecation_toolkit-1.5.0 spec/spec_helper.rb
deprecation_toolkit-1.4.0 spec/spec_helper.rb