mirror of
https://github.com/docusealco/docuseal.git
synced 2026-08-07 07:14:43 +00:00
fix specs
This commit is contained in:
@@ -5,7 +5,7 @@ FactoryBot.define do
|
||||
account
|
||||
|
||||
author factory: %i[user]
|
||||
name { Faker::Book.title }
|
||||
name { Faker::Book.unique.title }
|
||||
|
||||
trait :with_templates do
|
||||
after(:create) do |template_folder|
|
||||
|
||||
@@ -5,7 +5,7 @@ FactoryBot.define do
|
||||
account
|
||||
|
||||
author factory: %i[user]
|
||||
name { Faker::Book.title }
|
||||
name { Faker::Book.unique.title }
|
||||
|
||||
transient do
|
||||
submitter_count { 1 }
|
||||
|
||||
@@ -65,6 +65,7 @@ RSpec.configure do |config|
|
||||
|
||||
config.before do
|
||||
Sidekiq::Worker.clear_all
|
||||
Faker::UniqueGenerator.clear
|
||||
end
|
||||
|
||||
config.before do |example|
|
||||
|
||||
Reference in New Issue
Block a user