Sha256: 4c318fcd26aec4a5a0506c7d6c2257d60a369e334711ace7da6be6c66a687d49
Contents?: true
Size: 621 Bytes
Versions: 20
Compression:
Stored size: 621 Bytes
Contents
describe Appsignal::Hooks::CelluloidHook do context "with celluloid" do before :all do module Celluloid def self.shutdown end end Appsignal::Hooks::CelluloidHook.new.install end after :all do Object.send(:remove_const, :Celluloid) end its(:dependencies_present?) { should be_true } specify { expect(Appsignal).to receive(:stop) } specify { expect(Celluloid).to receive(:shutdown_without_appsignal) } after do Celluloid.shutdown end end context "without celluloid" do its(:dependencies_present?) { should be_false } end end
Version data entries
20 entries across 20 versions & 1 rubygems