discourse/spec
Daniel Waterworth 9313706649 DEV: Enable preserve_email_structure_when_styling by default
In 1bd8a075, a hidden site setting was added that causes Email::Styles
to treat its input as a complete document in all cases.

This commit enables that setting by default.

Some tests were removed that were broken by this change. They tested the
behaviour of applying email styles to empty strings. They weren't useful
because:

 * Sending empty email is not something we ever intend to do,
 * They were testing incidental behaviour - there are lots of
   valid ways to process the empty string,
 * Their intent wasn't clear from their descriptions,
2020-07-20 10:21:32 +01:00
..
components DEV: Enable preserve_email_structure_when_styling by default 2020-07-20 10:21:32 +01:00
fabricators DEV: Fix OptimizedImage specs 2020-07-06 21:51:56 +02:00
fixtures FEATURE: Parse images in email signatures (#10137) 2020-07-08 15:50:30 +10:00
helpers Fix the build. 2020-06-22 14:50:17 +08:00
import_export FEATURE: Rake task to export groups (#9450) 2020-04-17 14:59:54 -07:00
initializers FIX: We need to skip users with associated reviewables when auto-approving (#9080) 2020-03-02 14:33:52 -05:00
integration DEV: Enable preserve_email_structure_when_styling by default 2020-07-20 10:21:32 +01:00
integrity DEV: Check English locale for errors in CI 2020-06-03 21:54:58 +02:00
jobs FEATURE: Allow group moderators to close/archive topics 2020-07-14 12:36:19 -04:00
lib FIX: Bookmark search fixes (#10239) 2020-07-17 15:55:07 +10:00
mailers FIX: Set the lang/xml:lang html attrs in emails (#10218) 2020-07-13 16:39:40 +02:00
models Remove extra blank line 2020-07-16 14:57:29 -06:00
multisite FIX: invalid urls should not break store.has_been_uploaded? 2020-06-25 15:00:15 +10:00
requests FEATURE: Add scopes to API keys (#9844) 2020-07-16 15:51:24 -03:00
script/import_scripts FIX: Change base importer to create new Bookmark records (#9603) 2020-05-01 11:34:55 +10:00
serializers PERF: Reduce size of search payload by removing unused topic attributes. 2020-07-16 11:49:06 +08:00
services FIX: Strip query from URLs when indexing for search. 2020-07-14 15:32:40 +08:00
support FIX: Redirects containing Unicode usernames didn't work 2020-06-08 10:26:29 +02:00
tasks FEATURE: Add uploads:batch_migrate_from_s3 task to limit total posts migrated at once (#9933) 2020-06-04 09:48:11 +10:00
views/omniauth_callbacks FEATURE: Use full page redirection for all external auth methods (#8092) 2019-10-08 12:10:43 +01:00
rails_helper.rb Always require pry gems in rails_helper 2020-06-17 10:08:53 +10:00
swagger_helper.rb DEV: Add rswag to aid in api documention (#9546) 2020-04-27 16:40:07 -06:00