Sha256: 7efa6b25d5cc9f9c98dfc3541d75ddf52b9859228597743a2eb315f622f19bd3
Contents?: true
Size: 821 Bytes
Versions: 4
Compression:
Stored size: 821 Bytes
Contents
if webmachine_present? describe Appsignal::Hooks::WebmachineHook do context "with webmachine" do before(:all) do Appsignal::Hooks::WebmachineHook.new.install end its(:dependencies_present?) { should be_true } let(:fsm) { Webmachine::Decision::FSM.new(double(:trace? => false), double, double) } it "should include the run alias methods" do expect( fsm ).to respond_to(:run_with_appsignal) expect( fsm ).to respond_to(:run_without_appsignal) end it "should include the handle_exceptions alias methods" do expect( fsm.respond_to?(:handle_exceptions_with_appsignal, true) ).to be_true expect( fsm.respond_to?(:handle_exceptions_without_appsignal, true) ).to be_true end end end end
Version data entries
4 entries across 4 versions & 1 rubygems