Skip to content
Snippets Groups Projects
Commit da1cf5b9 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

enable callbacks for specs after notification

parent c7bd99b0
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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 }
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment