mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 17:43:43 +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
|