docbrown/spec/models
Ernesto Tagwerker 9ea3a8c67d
Upgrade to Rails 6.0 (#7658)
* Add dual booting logic to Gemfile

This might be helpful for the Rails 6.0 upgrade project.

* Add more than one gemfile to Travis' configuration

We want to see how the application behaves with more than one Rails versions:

- Gemfile -> Rails 5.2
- Gemfile.next -> Rails 6.0

This will help us figure out what needs to be addressed before migrating to Rails 6.0.

If you want to read more about this technique (dual booting) you can check out this page: https://www.fastruby.io/blog/upgrade-rails/dual-boot/dual-boot-with-rails-6-0-beta.html

* Fix joins

* Upgrade Gemfile.next.lock

* Make sure we're installing the correct versions of gems

* Add Rails 6 notes

* Update rubocop in Gemfile.next.lock

* Fix organization spec

* Fix page_views_spec

* Add Rails 6 and run rails app:update

* Remove some tricks

* Remove Gemfile.next for now

* Fix .content_type deprecation

* Fix deprecation of .where.not NAND/NOR behavior

* Fix deprecation of parameterized emails

* Fix specs

* Remove next flag for now

* Fix spec (hopefully)

* Add wait_for_javascript

* Fix spec, thanks @maestromac!

* Try without wait for javascript hack

* Remove unnecessary bin/update

* Remove file that snuck in the rebase

* Update the vendored gems

* Replace migrate+db:setup with db:prepare

* Update vendored gems

* Fix Gemfile.lock and update vendored stuff

* Fix Gemfile.lock to be the same as master's minus the changes

Co-authored-by: rhymes <rhymesete@gmail.com>
2020-06-04 11:54:25 +02:00
..
concerns [deploy] Remove Elasticsearch from Index Worker Names (#7594) 2020-04-29 12:12:29 -05:00
shared_examples [deploy] Rename positive_reactions_count to public_reactions_count in logic (#7926) 2020-05-26 12:36:28 -04:00
webhook Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
api_secret_spec.rb Limit the Number of API Keys a User Can Have (#7870) 2020-05-15 11:33:02 +02:00
application_record_spec.rb Switch decorators to Rails builtin decorations - take 2 (#6125) [deploy] 2020-02-19 15:30:53 -05:00
article_destroy_spec.rb Move Articles::ScoreCalcJob to Sidekiq (#5875) [deploy] 2020-02-04 10:01:46 -08:00
article_spec.rb [deploy] Render recently updated search preambled to sidebar (#8060) 2020-05-26 18:34:27 -04:00
audit_log_spec.rb Nullify audit logs on users delete (#7275) 2020-04-15 18:26:16 +02:00
backup_data_spec.rb Add functionality to remove and recover identity (#3377) 2019-07-03 12:01:16 -04:00
badge_achievement_spec.rb Add unique indexes - part 4 (#8059) 2020-05-27 09:29:20 +02:00
badge_spec.rb [deploy] Improve badge slug generation (#7386) 2020-04-20 15:47:44 +02:00
banished_user_spec.rb Introduce BanishedUser table (#5589) [deploy] 2020-01-21 17:15:58 -05:00
block_spec.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
broadcast_spec.rb Enforce Uniqueness for Broadcast Titles (#8239) [deploy] 2020-06-02 15:43:59 -06:00
buffer_update_spec.rb [deploy] Limit Suggestions for Social Service Posts (#7811) 2020-05-13 08:38:23 -05:00
chat_channel_membership_spec.rb Add unique indexes - part 4 (#8059) 2020-05-27 09:29:20 +02:00
chat_channel_spec.rb Add unique indexes - part 4 (#8059) 2020-05-27 09:29:20 +02:00
collection_spec.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
comment_spec.rb [deploy] Remove Elasticsearch from Index Worker Names (#7594) 2020-04-29 12:12:29 -05:00
credit_spec.rb [deploy] Rename classified listings (#7910) 2020-05-27 13:35:09 +00:00
data_update_script_spec.rb Fix scripts startup check for development mode (#6520) 2020-03-09 17:15:21 +01:00
display_ad_event_spec.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
display_ad_spec.rb Sanitisation of Ads (#6361) [deploy] 2020-02-28 13:20:34 -05:00
email_authorization_spec.rb [deploy] Add EmailAuthorization model (#6335) 2020-03-02 12:14:24 -05:00
event_spec.rb Move Events::BustCacheJob to Sidekiq and rename (#5379) 2020-01-06 15:51:46 -05:00
feedback_message_spec.rb [deploy] Enforce Uniq Abuse Reports from Reporters (#7831) 2020-05-14 09:03:10 -04:00
follow_spec.rb Replace peform_enqueued_jobs with sidekiq_perform_enqueued_jobs in specs (#6454) 2020-03-04 11:39:48 -07:00
github_issue_spec.rb [deploy] Decouple GitHub authentication from fetching GitHub issues (#7660) 2020-05-04 16:17:16 -04:00
github_repo_spec.rb Refactor GitHub::Client to extract Github::OauthClient for users (#7848) 2020-05-18 14:23:55 +02:00
html_variant_spec.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
html_variant_success_spec.rb Unskip all skipped specs (#2941) 2019-05-25 11:04:38 -04:00
html_variant_trial_spec.rb Unskip all skipped specs (#2941) 2019-05-25 11:04:38 -04:00
identity_spec.rb [deploy] Authentication refactoring: cleanups (#7576) 2020-04-29 10:33:30 -04:00
listing_category_spec.rb [deploy] Rename classified listings (#7910) 2020-05-27 13:35:09 +00:00
listing_spec.rb [deploy] Rename classified listings (#7910) 2020-05-27 13:35:09 +00:00
mention_spec.rb Add Mentions::CreateAllWorker for Sidekiq (#5463) 2020-01-13 13:23:30 -06:00
message_spec.rb [deploy] Small design and functionality touches to /connect (#7234) 2020-04-11 10:56:52 -04:00
note_spec.rb Improve specs (#1693) 2019-02-04 15:56:00 -04:00
notification_spec.rb [deploy] Rename positive_reactions_count to public_reactions_count in logic (#7926) 2020-05-26 12:36:28 -04:00
notification_subscription_spec.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
organization_membership_spec.rb [deploy] Create private group chat channel for orgs (#7270) 2020-04-16 17:02:06 -04:00
organization_spec.rb Upgrade to Rails 6.0 (#7658) 2020-06-04 11:54:25 +02:00
page_spec.rb Add dynamic monthly sitemaps (#6704) [deploy] 2020-03-19 17:20:23 -04:00
page_view_spec.rb Remove UserHistory Feature and PageViews from Algolia (#6127) [deploy] 2020-02-18 10:06:30 -05:00
podcast_episode_spec.rb [deploy] Remove Elasticsearch from Index Worker Names (#7594) 2020-04-29 12:12:29 -05:00
podcast_spec.rb Fix finding existing podcast episode by website url (#7608) 2020-04-30 19:08:17 -04:00
poll_option_spec.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
poll_skip_spec.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
poll_spec.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
poll_vote_spec.rb Upgrade Rubocop related gems and fix new violations (#3581) [ci skip] 2019-07-30 14:29:05 -04:00
profile_pin_spec.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
rating_vote_spec.rb Create implicit experience level rating vote upon creating of readinglist reaction (#6522) [deploy] 2020-03-10 10:59:49 -04:00
reaction_spec.rb [deploy] Use User reactions_count for Reaction Cache Keys (#7939) 2020-05-19 11:34:06 -05:00
response_template_spec.rb [deploy] Limit Response Template Count for Users (#7890) 2020-05-15 15:18:28 -05:00
role_spec.rb Add mod channel automation to tags (#5731) [deploy] 2020-02-06 16:27:12 -05:00
sponsorship_spec.rb Refactored creating sponsorships (#7946) 2020-05-19 18:00:01 -04:00
tag_adjustment_spec.rb [deploy] Fix tag removal case sensitivity for mods (#8024) 2020-05-22 15:44:10 -04:00
tag_spec.rb [deploy] Remove Elasticsearch from Index Worker Names (#7594) 2020-04-29 12:12:29 -05:00
tweet_spec.rb [deploy] Decouple Twitter authentication from fetching tweets (#7920) 2020-05-19 18:05:41 -04:00
user_block_spec.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
user_counter_spec.rb User counters using PostgreSQL JSON (#5373) [deploy] 2020-02-03 10:35:08 -05:00
user_optional_field_spec.rb [deploy] Add optional fields to user (#7246) 2020-04-28 15:42:41 -04:00
user_spec.rb [deploy] Rename classified listings (#7910) 2020-05-27 13:35:09 +00:00