This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/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