add base feature specs

This commit is contained in:
Alex Turchyn committed 2023-08-20 15:15:48 +03:00
1 parent 6b4e7c2264
commit cbc6f4497a
32 files changed
+1134 -12

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
# frozen_string_literal: true
FactoryBot.define do
factory :user do
account
first_name { Faker::Name.first_name }
last_name { Faker::Name.last_name }
password { 'password' }
role { User::ADMIN_ROLE }
email { Faker::Internet.email }
end
end