custom_emoji_fabricator.rb (156B)
- Fabricator(:custom_emoji) do
- shortcode 'coolcat'
- domain nil
- image { File.open(Rails.root.join('spec', 'fixtures', 'files', 'emojo.png')) }
- end
git clone https://hacktivis.me/git/mastofe.git
custom_emoji_fabricator.rb (156B)
- Fabricator(:custom_emoji) do
- shortcode 'coolcat'
- domain nil
- image { File.open(Rails.root.join('spec', 'fixtures', 'files', 'emojo.png')) }
- end