Sha256: 6d7fccfc7840c0bbbcc2480c2c551b1db09bf636c905d4242261bc8b0aa2ee62
Contents?: true
Size: 663 Bytes
Versions: 20
Compression:
Stored size: 663 Bytes
Contents
describe Appsignal::Hooks::PassengerHook do context "with passenger" do before(:all) do module PhusionPassenger end end after(:all) { Object.send(:remove_const, :PhusionPassenger) } its(:dependencies_present?) { should be_true } it "adds behavior to stopping_worker_process and starting_worker_process" do PhusionPassenger.should_receive(:on_event).with(:starting_worker_process) PhusionPassenger.should_receive(:on_event).with(:stopping_worker_process) Appsignal::Hooks::PassengerHook.new.install end end context "without passenger" do its(:dependencies_present?) { should be_false } end end
Version data entries
20 entries across 20 versions & 1 rubygems