From a2ee64ebd9a3a742204fc70cb3f1e7f2c800fdaa Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Thu, 25 Jan 2018 12:30:18 +0200 Subject: [PATCH] Clean up spec #660 --- spec/models/contact_spec.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/spec/models/contact_spec.rb b/spec/models/contact_spec.rb index 80dfb47ad..b9be3b3fa 100644 --- a/spec/models/contact_spec.rb +++ b/spec/models/contact_spec.rb @@ -171,11 +171,6 @@ RSpec.describe Contact do end context 'with callbacks' do - before :example do - # Ensure callbacks are not taken out from other specs - Contact.set_callback(:create, :before, :generate_auth_info) - end - context 'after create' do it 'should not allow to use same code' do registrar = create(:registrar, code: 'FIXED')