mirror of
https://github.com/discourse/discourse.git
synced 2024-12-06 07:43:40 +08:00
9 lines
241 B
Ruby
9 lines
241 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
Fabricator(:user_associated_account) do
|
||
|
provider_name "meecrosof"
|
||
|
provider_uid { sequence(:key) { |i| "#{i + 1}" } }
|
||
|
user
|
||
|
info { |attrs| { name: attrs[:user].username, email: attrs[:user].email } }
|
||
|
end
|