aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/log_subscriber_test.rb
diff options
context:
space:
mode:
authorAnnie-Claude Côté <hello@annie.codes>2018-07-05 09:55:36 -0400
committerAnnie-Claude Côté <hello@annie.codes>2018-07-05 10:01:46 -0400
commit7e229f7430122461538ea6a0a3feb34c8d9eb87a (patch)
treeb7622b978aede0b6f8ff302f6674d5d2fabb50d7 /actionmailer/test/log_subscriber_test.rb
parentba38e13c8272f1d10cf2381d6e5d3021020c6f62 (diff)
downloadrails-7e229f7430122461538ea6a0a3feb34c8d9eb87a.tar.gz
rails-7e229f7430122461538ea6a0a3feb34c8d9eb87a.tar.bz2
rails-7e229f7430122461538ea6a0a3feb34c8d9eb87a.zip
Make NotesCommand tests more performant by getting rid of unecessary map
* Get rid of map and replace it with a multiplication of "\n" to generate document with multiple line preceding the annotation * Reduce number from 1000 to 100 since it achieves the same goal * Only keep one test for the multiple lines document since it's unecessary to test multiple times * Update some language in tests names to make it clearer what we are testing
Diffstat (limited to 'actionmailer/test/log_subscriber_test.rb')
0 files changed, 0 insertions, 0 deletions