discourse/spec/fabricators/user_associated_account_fabricator.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
241 B
Ruby
Raw Normal View History

# 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