BigW Consortium Gitlab

Commit 60ee383e by Dmitriy Zaporozhets

Enable observe for system hooks

parent d9cd6269
......@@ -2,6 +2,8 @@ require "spec_helper"
describe SystemHook do
describe "execute" do
before(:each) { ActiveRecord::Base.observers.enable(:all) }
before(:each) do
@system_hook = Factory :system_hook
WebMock.stub_request(:post, @system_hook.url)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment