Sha256: e04c13f162bf8fdc25eac67ab419c226b67f45c72b233f3577136e92992ba047

Contents?: true

Size: 321 Bytes

Versions: 1

Compression:

Stored size: 321 Bytes

Contents

require 'spec_helper'

describe "ServiceTemplate::FilterByHash Deprecation" do
  it 'raises a deprecation warning when mixed in to a class' do
    expect(ActiveSupport::Deprecation).to receive(:warn)
    class FooModel; include ServiceTemplate::FilterByHash; end
    ActiveSupport::Deprecation.silenced = false
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
service_template-0.5.0 spec/deprecations/filter_by_hash_spec.rb