discourse/lib/faker/discourse.rb
Vinoth Kannan 6abc45e57b
DEV: move discourse_dev gem to the core. (#13360)
And get avatar images from `discourse_dev_assets` gem.
2021-06-14 20:34:44 +05:30

27 lines
369 B
Ruby

# frozen_string_literal: true
require 'faker'
module Faker
class Discourse < Base
class << self
def tag
fetch('discourse.tags')
end
def category
fetch('discourse.categories')
end
def group
fetch('discourse.groups')
end
def topic
fetch('discourse.topics')
end
end
end
end