add base feature specs

This commit is contained in:
Alex Turchyn
2023-08-20 12:42:47 +03:00
parent 6b4e7c2264
commit cbc6f4497a
32 changed files with 1134 additions and 12 deletions
+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