mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
parent
7ab68032ea
commit
a2ee64ebd9
1 changed files with 0 additions and 5 deletions
|
@ -171,11 +171,6 @@ RSpec.describe Contact do
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'with callbacks' do
|
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
|
context 'after create' do
|
||||||
it 'should not allow to use same code' do
|
it 'should not allow to use same code' do
|
||||||
registrar = create(:registrar, code: 'FIXED')
|
registrar = create(:registrar, code: 'FIXED')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue