Sha256: be54b81489fddb389c057e8ea26bd23eec1bde53a1dafdb4ef327ea927715543
Contents?: true
Size: 535 Bytes
Versions: 6
Compression:
Stored size: 535 Bytes
Contents
describe 'Appsignal::UpdateActiveSupport', :if => ( Gem.loaded_specs['rails'] && Gem.loaded_specs['rails'].version < Gem::Version.create('4.0') ) do require 'appsignal/update_active_support' let(:pattern) { 'foo' } let(:delegate) { double } before { ActiveSupport::Notifications.subscribe(pattern, delegate) } it "should transfer old subscriptions to the new version" do expect( ActiveSupport::Notifications ).to receive(:subscribe).with(pattern, delegate) end after { Appsignal::UpdateActiveSupport.run } end
Version data entries
6 entries across 6 versions & 1 rubygems