discourse/spec/controllers
Guo Xiang Tan 142571bba0 Remove use of rescue nil.
* `rescue nil` is a really bad pattern to use in our code base.
  We should rescue errors that we expect the code to throw and
  not rescue everything because we're unsure of what errors the
  code would throw. This would reduce the amount of pain we face
  when debugging why something isn't working as expexted. I've
  been bitten countless of times by errors being swallowed as a
  result during debugging sessions.
2018-04-02 13:52:51 +08:00
..
admin Remove use of rescue nil. 2018-04-02 13:52:51 +08:00
about_controller_spec.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
badges_controller_spec.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
categories_controller_spec.rb FIX: return 429 when admin api key is limited on admin route 2018-01-12 14:15:26 +11:00
category_hashtags_controller_spec.rb FIX: return 429 when admin api key is limited on admin route 2018-01-12 14:15:26 +11:00
clicks_controller_spec.rb FIX: show an error page on click tracking error 2018-03-17 00:33:11 +01:00
composer_messages_controller_spec.rb FIX: return 429 when admin api key is limited on admin route 2018-01-12 14:15:26 +11:00
draft_controller_spec.rb FIX: return 429 when admin api key is limited on admin route 2018-01-12 14:15:26 +11:00
email_controller_spec.rb FIX: return 429 when admin api key is limited on admin route 2018-01-12 14:15:26 +11:00
export_csv_controller_spec.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
extra_locales_controller_spec.rb FIX: cache admin locale file for 24 hours 2018-01-09 10:23:49 +11:00
finish_installation_controller_spec.rb FIX: return 429 when admin api key is limited on admin route 2018-01-12 14:15:26 +11:00
inline_onebox_controller_spec.rb FIX: return 429 when admin api key is limited on admin route 2018-01-12 14:15:26 +11:00
invites_controller_spec.rb FIX: return 429 when admin api key is limited on admin route 2018-01-12 14:15:26 +11:00
list_controller_spec.rb FEATURE: add category suppress from latest 2018-02-22 09:56:35 +11:00
metadata_controller_spec.rb FEATURE: custom setting for large square site icon 2017-11-03 16:19:31 +11:00
notifications_controller_spec.rb FEATURE: Notification API Endpoints for Admins 2018-02-13 01:38:26 -05:00
offline_controller_spec.rb FIX: offline controller regression 2017-10-31 15:44:50 +11:00
onebox_controller_spec.rb FIX: don't double request when downloading a file 2018-02-24 12:35:57 +01:00
permalinks_controller_spec.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
post_action_users_controller_spec.rb UX: cap likes 2 (#5237) 2017-11-15 11:28:54 +11:00
post_actions_controller_spec.rb FIX: return 429 when admin api key is limited on admin route 2018-01-12 14:15:26 +11:00
posts_controller_spec.rb FIX: return 429 when admin api key is limited on admin route 2018-01-12 14:15:26 +11:00
queued_posts_controller_spec.rb FIX: Error if queued post not found while updating 2017-11-27 19:25:51 +05:30
search_controller_spec.rb have to clear debounce cache for tests 2018-01-15 15:29:54 +11:00
session_controller_spec.rb Fix failing spec. 2018-03-28 12:01:50 +08:00
similar_topics_controller_spec.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
site_controller_spec.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
steps_controller_spec.rb FIX: return 429 when admin api key is limited on admin route 2018-01-12 14:15:26 +11:00
stylesheets_controller_spec.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
tags_controller_spec.rb update response error when deleting tags (#5213) 2017-09-30 16:31:32 +02:00
topic_controller_spec.rb Fix the build 2018-02-23 13:35:15 +01:00
topics_controller_spec.rb FIX: Couldn't move a topic into the uncategorized category. 2018-03-13 10:20:47 +08:00
uploads_controller_spec.rb FIX: don't double request when downloading a file 2018-02-24 12:35:57 +01:00
user_actions_controller_spec.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
user_api_keys_controller_spec.rb FIX: return 429 when admin api key is limited on admin route 2018-01-12 14:15:26 +11:00
user_avatars_controller_spec.rb FIX: don't double request when downloading a file 2018-02-24 12:35:57 +01:00
user_badges_controller_spec.rb Improve specs to test for the right response status. 2017-11-24 09:32:44 +08:00
users_controller_spec.rb FIX: tag notification preferences were being cleared when other preferences were changed 2018-03-29 15:08:32 -04:00
webhooks_controller_spec.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
wizard_controller_spec.rb FIX: don't return 200s when login is required to paths 2018-02-01 12:26:45 +11:00