docbrown/spec/support
Prayesh Shah c043339654
Bug Fix: Following an organization from article's sidebar creates an incorrect follow record (#15093)
* 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>
2021-11-05 12:40:20 -04:00
..
fixtures Asynchronously detect image aspect ratios and apply proper attributes (#15170) 2021-10-26 13:39:25 -07:00
initializers Upgrade to Ruby 3.0.2 (#12103) 2021-08-25 14:26:33 -04:00
seeds Bug Fix: Following an organization from article's sidebar creates an incorrect follow record (#15093) 2021-11-05 12:40:20 -04:00
shared_examples Refactor Admin Member Detail view - Tools section (#14283) 2021-08-17 18:55:53 +02:00
omniauth_helpers.rb Forem passport (cont) (#14759) 2021-09-30 06:47:45 -06:00
rpush_helpers.rb Adds validations to avoid creating unnecessary PNs (#14621) 2021-08-31 15:00:30 -06:00
runkit_tag_context.rb Fix Runkit tags not being activated when comment is added (#6767) 2020-05-15 14:27:46 +02:00
shared_context.rb [15-minute fix] Add ThrottledCall to DisplayAdEventsController (#12924) 2021-03-09 09:06:11 +07:00
sidekiq_test_helpers.rb Add implicit points to follows to improve feed relevancy (in all algorithms) (#11513) 2020-11-25 16:09:51 -05:00
within_block_is_expected.rb Improve ArticlesController's authorization (#466) 2018-06-21 14:18:32 -04:00