mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 11:38:30 +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
|
@ -1,7 +1,7 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.feature 'Mobile ID login', db: true do
|
||||
given!(:api_user) { Fabricate(:api_user, identity_code: 1234) }
|
||||
given!(:api_user) { create(:api_user, identity_code: 1234) }
|
||||
|
||||
background do
|
||||
Setting.registrar_ip_whitelist_enabled = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue