* Downcase `followable_type` to fix wrong follows creation bug * Use `follow_button` helper * Remove puts statement * Revert use of follow_button helper * Remove downcase of followable_type from helper * Refactor switch case for better consistency * Add e2e test for follow organization from article page functionality * Split cypress `it` block into two * Add additional test to following organizations from dashboard * Remove downcasing of followable_type for decorated objects * Fix failing follow back spec * Force capitalize `followable_type` param Co-authored-by: Mac Siri <krairit.siri@gmail.com> * Update app/controllers/follows_controller.rb Co-authored-by: Mac Siri <krairit.siri@gmail.com> |
||
|---|---|---|
| .. | ||
| fixtures | ||
| initializers | ||
| seeds | ||
| shared_examples | ||
| omniauth_helpers.rb | ||
| rpush_helpers.rb | ||
| runkit_tag_context.rb | ||
| shared_context.rb | ||
| sidekiq_test_helpers.rb | ||
| within_block_is_expected.rb | ||