* Change from #after_save to #after_create * Update .babelrc * Update cloud_name for test * Update SlackBot's RssReader channel * Update helpful-hints.md * Create .gitdocs.json * Remove serve-docs script * Update docs/helpful-hints.md * Update approval * Revert "Change from #after_save to #after_create" This reverts commit 548ee0d2c0d56a1aa67316468f4106ac9f437662. * Create delayed_job.rb * Bump ancestry gem to 3.0.3 * Fix broken spec * Remove manual Delayed::Job config in test * Update spec_helper.rb * Fix broken specs * Mute SlackBot in test * Remove weekly-dgiest.yml * Create PodcastEpisodeDecorator
8 lines
160 B
Ruby
8 lines
160 B
Ruby
FactoryBot.define do
|
|
factory :reaction do
|
|
reactable_id { rand(10000) }
|
|
user
|
|
reactable_type { "Article" }
|
|
category { "like" }
|
|
end
|
|
end
|