Sha256: 9c84fc2f6bc14a11bc96dc9b926f7151ddea7afe4202fae4447d6bd93c421e3c
Contents?: true
Size: 255 Bytes
Versions: 4
Compression:
Stored size: 255 Bytes
Contents
require 'spec_helper' require 'active_support' describe "Napa::Entity Deprecation" do it 'raises a deprecation warning when a class inherits' do expect(ActiveSupport::Deprecation).to receive(:warn) class FooEntity < Napa::Entity; end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
napa-0.5.0 | spec/deprecations/entity_spec.rb |
napa-0.4.3 | spec/deprecations/entity_spec.rb |
napa-0.4.1 | spec/deprecations/entity_spec.rb |
napa-0.4.0 | spec/deprecations/entity_spec.rb |