Sha256: c7d01d0c13f8b60eb6de2d8bd654af073d1cc38491b86c7d81878a15889377b8
Contents?: true
Size: 686 Bytes
Versions: 97
Compression:
Stored size: 686 Bytes
Contents
require 'spec_helper' 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
97 entries across 97 versions & 1 rubygems