docbrown/spec/support
Arit Amana 750d379807
Allow ModRole & Admin to Suspend & Unsuspend User (#17946)
* gotta commit at some point

* out of gas

* IT'S WORKING NOW! 💥

* Cypress tests

* fix Travis failures

* incorporate PR review suggestions

* fix one failing Cypress test

* update API call

* add Unsuspend flow; fix Travis failures

* add tests for unsuspend flow

* remove unnecessary atrribute

* add article_policy spec

* fix failing Travis

* nudge Travis

* fix apparent typo  o o 🤷

* refactor a bunch of duplication

* nudge Travis

* fix Cypress failure related to authorizing moderator for user_status action

* rename modal partial

* remove unnecessary button-exists check

* address PR review suggestions

* hide suspend user btn after action

* toggle btn based on author suspension status

* add data-testids

* use data-testids

* controller refactor
2022-06-27 12:45:35 -04:00
..
fixtures Don't create podcast episodes without any media (#17449) 2022-04-27 11:21:03 -05:00
initializers Routine Rubopcop lint fixes (#17844) 2022-06-07 10:17:16 -04:00
seeds Allow ModRole & Admin to Suspend & Unsuspend User (#17946) 2022-06-27 12:45:35 -04:00
shared_examples Remove "New Admin Member"-Related Code (#16475) 2022-02-10 06:42:56 -07:00
comments_helper.rb Community Wellness badge (#17394) 2022-04-29 12:38:40 -06:00
embeds_helpers.rb Revalidate embedded links that redirect (#17150) 2022-04-07 13:32:07 -04:00
omniauth_helpers.rb Login with Google (#15986) 2022-01-13 10:25:52 -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 Refactoring shared context to remove assumption (#16573) 2022-02-15 11:32:49 -05:00
sidekiq_test_helpers.rb Use Sidekiq::Job module alias for Sidekiq::Worker (#17526) 2022-05-02 11:12:58 -05:00
within_block_is_expected.rb Improve ArticlesController's authorization (#466) 2018-06-21 14:18:32 -04:00