diff options
author | Joël Quenneville <joel.quen@gmail.com> | 2017-04-23 00:04:32 -0400 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-23 06:04:32 +0200 |
commit | 0c2fe22bc19a82899c7577410bc869db7d42955a (patch) | |
tree | 10961704fdb4a80524a00cd180864c3d9a16e578 /app/mailers/application_mailer.rb | |
parent | 6f0b3b069f3ee9a9eceec77666fc124b9695f124 (diff) |
Add test coverage to CSS class generation (#2285)
The code that generates CSS is based on a lot of boolean conditions. The possible combinations of these grows exponentially as we add more conditions. Since most of the code is conditional on a single boolean, we tested the following: 1. All `false` 2. All `true` 3. Each individual flag set to `true` The methods tested are: * `StreamEntriesHelper#style_classes` * `StreamEntriesHelper#microformats_classes` * `StreamEntriesHelper#microformats_h_class`
Diffstat (limited to 'app/mailers/application_mailer.rb')
0 files changed, 0 insertions, 0 deletions