mirror of
https://github.com/internetee/registry.git
synced 2025-07-19 17:25:57 +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 @@
|
|||
RSpec.configure do |config|
|
||||
config.before :example do |example|
|
||||
if example.metadata[:db] && (example.metadata[:settings] != false)
|
||||
Fabricate(:zone, origin: 'com')
|
||||
create(:zone, origin: 'com')
|
||||
|
||||
Setting.ds_algorithm = 2
|
||||
Setting.ds_data_allowed = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue