discourse/spec/models
Ricardo Mendes 37f4022f73 Refactors UserEmailObserver to improve Code Climate score
- Extracts certain logic to private methods and remove unnecessary
comments
- Extracts email enqueueing methods into a separate class
- Fix specs involving UserEmailObserver to call #after_commit instead
of the specific methods
2013-08-24 12:21:39 +01:00
..
admin_dashboard_data_spec.rb Replace Clockwork with Sidetiq 2013-08-14 21:39:40 +02:00
category_featured_topic_spec.rb work in progress, add fidelity to category group permissions (full, create posts, readonly) 2013-07-16 15:46:11 +10:00
category_featured_user_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
category_spec.rb Strip trailing and leading spaces from category names 2013-07-30 16:48:45 -04:00
draft_sequence_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
draft_spec.rb Updated tests to decrease string repetition 2013-06-25 22:15:41 +08:00
email_log_spec.rb First stab at polling support for POP3S / reply by email 2013-06-17 16:49:02 -04:00
email_token_spec.rb Only send digests to active users 2013-07-11 18:47:36 -04:00
error_log_spec.rb Convert a lot of :a => b to a: b and bring peace to the world 2013-03-25 05:07:36 +05:30
group_spec.rb correct: http://meta.discourse.org/t/cant-save-adding-a-group-permission-to-a-category/8537 2013-07-23 10:10:36 +10:00
hot_topic_spec.rb Add score, percent_rank to topics. Adds HotTopic model and consolidated job to calculate 2013-03-28 15:39:54 -04:00
incoming_link_spec.rb spec for change 2013-07-05 14:23:29 +10:00
incoming_links_report_spec.rb Remove users column from Top Traffic Sources table on dashboard. It's not useful and very expensive to calculate. 2013-08-02 18:32:33 -04:00
invite_spec.rb automatically approve invited users on forum where moderators must approve (keep in mind only moderators can invite) 2013-07-11 11:22:00 +10:00
locale_site_setting_spec.rb values is a much more consistent name than all_values ... we use {}.values not {}.all_values 2013-06-23 15:07:49 +10:00
notification_spec.rb Refactors UserEmailObserver to improve Code Climate score 2013-08-24 12:21:39 +01:00
optimized_image_spec.rb custom avatar support 2013-08-13 22:08:29 +02:00
post_action_spec.rb push some work out of AR callbacks into PostCreator, add a couple of helpers for post and topic creation in test 2013-07-22 15:07:20 +10:00
post_alert_observer_spec.rb refactored a bit & tested thumbnails creation 2013-06-17 02:49:34 +02:00
post_analyzer_spec.rb fix mentions in code blocks 2013-07-30 18:01:42 -04:00
post_mover_spec.rb Rails 4 updates 2013-07-24 21:09:18 +02:00
post_reply_spec.rb Initial release of Discourse 2013-02-05 14:16:51 -05:00
post_spec.rb Show the entire history of replies above a post when you expend "in reply to" 2013-08-06 17:43:10 -04:00
post_timing_spec.rb If a user read to the end of an auto closing topic, when it is closes just pretend they read the close message. 2013-07-04 11:47:12 +10:00
post_upload_spec.rb add proper post_uploads reverse index 2013-06-13 23:44:24 +02:00
report_spec.rb Updated tests to decrease string repetition 2013-06-25 22:15:41 +08:00
s3_region_site_setting_spec.rb values is a much more consistent name than all_values ... we use {}.values not {}.all_values 2013-06-23 15:07:49 +10:00
screened_email_spec.rb Add ScreenedUrl. Rename BlockedEmail to ScreenedEmail. 2013-08-14 16:08:23 -04:00
screened_url_spec.rb Add ScreenedUrl. Rename BlockedEmail to ScreenedEmail. 2013-08-14 16:08:23 -04:00
site_content_spec.rb Can change TOS content via site content editor 2013-04-05 15:21:55 -04:00
site_customization_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
site_setting_spec.rb enhance upload selector 2013-08-02 01:30:18 +02:00
site_spec.rb Finalize read only and post only categories, finished off UI work 2013-07-16 15:46:11 +10:00
staff_action_log_spec.rb Rename AdminLog to StaffActionLog 2013-07-29 15:29:43 -04:00
top_menu_item_spec.rb adds TopMenuItem model which encapsulates top_menu parsing logic 2013-06-24 10:04:18 -07:00
topic_allowed_user_spec.rb Initial release of Discourse 2013-02-05 14:16:51 -05:00
topic_invite_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
topic_link_click_spec.rb Don't redirect to arbitrary URLs via link tracker 2013-07-26 12:14:11 -04:00
topic_link_spec.rb FIX: click tracking on attachments wasn't working 2013-07-19 01:27:09 +02:00
topic_posters_summary_spec.rb Extract Topic#posters_summary 2013-05-24 15:33:45 -07:00
topic_spec.rb Private message emails now include the history 2013-08-07 13:03:45 -04:00
topic_status_update_spec.rb If a user read to the end of an auto closing topic, when it is closes just pretend they read the close message. 2013-07-04 11:47:12 +10:00
topic_tracking_state_spec.rb push some work out of AR callbacks into PostCreator, add a couple of helpers for post and topic creation in test 2013-07-22 15:07:20 +10:00
topic_user_spec.rb push some work out of AR callbacks into PostCreator, add a couple of helpers for post and topic creation in test 2013-07-22 15:07:20 +10:00
upload_spec.rb enable thumbnailing on S3 2013-07-31 23:26:34 +02:00
user_action_spec.rb favorite user action consistency 2013-08-02 11:07:18 +10:00
user_email_observer_spec.rb Refactors UserEmailObserver to improve Code Climate score 2013-08-24 12:21:39 +01:00
user_open_id_spec.rb moved comments to the bottom, they are way less intrusive there 2013-05-24 12:48:32 +10:00
user_search_spec.rb before: 2013-04-22 11:05:54 +10:00
user_spec.rb Remove some calls to all. They are not required, and Rails4 raises warnings about them. 2013-07-22 20:44:11 +02:00
user_visit_spec.rb save it ... 2013-04-08 08:21:54 +10:00
username_validator_spec.rb Extract the validation of Username format in own class to avoid 2013-02-08 12:54:47 -05:00
view_spec.rb views: convert 'ip' (bigint) -> 'ip_address' (inet) 2013-06-25 19:47:25 -04:00