Commit da1cf5b9 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

enable callbacks for specs after notification

parent c7bd99b0
No related merge requests found
......@@ -2,7 +2,8 @@ require 'spec_helper'
describe NotificationService do
# Disable observers to prevent factory trigger notification service
before { ActiveRecord::Base.observers.disable :all }
before(:all) { ActiveRecord::Base.observers.disable :all }
after(:all) { ActiveRecord::Base.observers.enable :all }
let(:notification) { NotificationService.new }
......
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