mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
Use FactoryBot factories instead of fabricators
This commit is contained in:
parent
0cd913daf8
commit
9fd02c738f
30 changed files with 241 additions and 267 deletions
|
@ -2,8 +2,8 @@ require 'rails_helper'
|
|||
|
||||
describe Epp::Contact, '.check_availability' do
|
||||
before do
|
||||
Fabricate(:contact, code: 'asd12')
|
||||
Fabricate(:contact, code: 'asd13')
|
||||
create(:contact, code: 'asd12')
|
||||
create(:contact, code: 'asd13')
|
||||
end
|
||||
|
||||
it 'should return array if argument is string' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue