mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 09:27:19 +02:00
parent
7ab68032ea
commit
a2ee64ebd9
1 changed files with 0 additions and 5 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue