diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2015-12-23 23:51:21 +0100 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2015-12-23 23:51:21 +0100 |
commit | 435ebf456984f2e3f051ceef8aa9a1b1f2b918ce (patch) | |
tree | 6676ea3a02a818ff74226cd9850a524876b9b2e2 /actionmailer/test/fixtures/nested_layout_mailer | |
parent | af85e8a987ace926a5d0c21b87a68e2664cfba19 (diff) | |
download | rails-435ebf456984f2e3f051ceef8aa9a1b1f2b918ce.tar.gz rails-435ebf456984f2e3f051ceef8aa9a1b1f2b918ce.tar.bz2 rails-435ebf456984f2e3f051ceef8aa9a1b1f2b918ce.zip |
Move test coloring closer to where it's used.
Didn't like the constant being at the top of the file, gave it overdue importance.
Now that `color_output` expects a result we can shorten some of the flexibility
from earlier:
* Inline COLOR_CODES constant (keep local variable for readability,
but don't need names of colors at run time).
* Inline color variable in `color_output`. Looks just as clear without it.
Diffstat (limited to 'actionmailer/test/fixtures/nested_layout_mailer')
0 files changed, 0 insertions, 0 deletions