Sha256: 7178ea4882202a52d4af2b27e30babb7c36c3c4ca8c086807f05a382d5f0bc33

Contents?: true

Size: 277 Bytes

Versions: 1

Compression:

Stored size: 277 Bytes

Contents

require 'spec_helper'
require 'active_support'

describe "ServiceTemplate::Entity Deprecation" do
  it 'raises a deprecation warning when a class inherits' do
    expect(ActiveSupport::Deprecation).to receive(:warn)
    class FooEntity < ServiceTemplate::Entity; end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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