docbrown/spec/services
Daniel Uber 6e08c7ca14
Disable flakey admin charts spec (#17165)
* Disable flaky test cases

These two tests (counting the number of items returned by the service
in the past week) depend on synchronizing the database time with the
process time, and fail when zonebie is active and the current timezone
is more than 12 hours ahead of UTC ("Samoa" for example fails).

* Use UTC times when calculating the periods for overview charts

The database will use UTC to calculate DATE() for grouping, and
ensuring the same time used when filtering avoids issues where the
ruby/server time and the database time are in distinct timezones, and
posts are published on different days in the two instances.

* Remove unused test-side date helper

* Revert "Use UTC times when calculating the periods overview charts"

This just moved the problem to the request specs. Since the spec is
still failing it's better to get the test suppressed while a fix is
determined

This reverts commit cbad78efcee9df51fd4f0a5214d00358c5253167.
2022-04-11 13:23:47 -04:00
..
admin Disable flakey admin charts spec (#17165) 2022-04-11 13:23:47 -04:00
articles Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
audit Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
authentication
badges Add Oauth check to AwardContributorFromGithub (#17155) 2022-04-06 15:41:20 -04:00
broadcasts/welcome_notification
color
credits Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
discover Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
edge_cache
exporter
fastly_config
feeds
follows Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
giphy
github
homepage
html
images Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
listings
loggers
mailchimp
markdown_processor
mentions
moderator
notification_subscriptions
notifications Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
organizations
payments
podcasts Produce a meaningful slug from podcast episode title (#17184) 2022-04-08 16:30:16 -05:00
profile_fields Profile attribute names should be unique and non-empty (#16396) 2022-04-04 12:14:02 -05:00
push_notifications
re_captcha
search
settings/authentication
slack
spam
tag_moderators
twitter_client Match error class using case instead of if/elsif/else (#16952) 2022-03-21 15:34:49 -05:00
user_subscriptions Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
users Profile attribute names should be unique and non-empty (#16396) 2022-04-04 12:14:02 -05:00
analytics_service_spec.rb Expect to raise error should use a block (#17131) 2022-04-05 13:21:23 -06:00
article_with_video_creation_service_spec.rb
bulk_sql_delete_spec.rb
email_digest_article_collector_spec.rb
email_digest_spec.rb
feature_flag_spec.rb
flare_tag_spec.rb Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
medium_article_retrieval_service_spec.rb
open_graph_spec.rb OpenGraph fallback for Embeds (merge-by-any-core) (#17001) 2022-04-04 15:31:38 -04:00
rate_limit_checker_spec.rb
tag_adjustment_creation_service_spec.rb
tag_adjustment_update_service_spec.rb