Sha256: 5366782b6364749d738fff3ef273c4ebec2dd68d8d52be94bcd8500477b7d507
Contents?: true
Size: 585 Bytes
Versions: 3
Compression:
Stored size: 585 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' RSpec.describe(DeprecationToolkit::RSpecPlugin) do it "should add `notify` behavior to the deprecations behavior list" do behavior = ActiveSupport::Deprecation::DEFAULT_BEHAVIORS[:notify] expect(ActiveSupport::Deprecation.behavior).to(include(behavior)) end it "doesn't remove previous deprecation behaviors" do behavior = ActiveSupport::Deprecation::DEFAULT_BEHAVIORS[:silence] ActiveSupport::Deprecation.behavior = behavior expect(ActiveSupport::Deprecation.behavior).to(include(behavior)) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
deprecation_toolkit-1.5.1 | spec/rspec/plugin_spec.rb |
deprecation_toolkit-1.5.0 | spec/rspec/plugin_spec.rb |
deprecation_toolkit-1.4.0 | spec/rspec/plugin_spec.rb |