docbrown/spec/labor
Michael Kohl b57ced5466 CacheBuster refactoring (#4766)
* Turn CacheBuster into a module

This class used no internal state, so repeatedly creating short-lived objects seems wasteful.

* Consistently use string interpolation and parenthesis

* Destructure arrays into meaningful names, formatting

* Fix request spec for internal classified listings controller

Interestingly this works when asserting directly on the module, but not on a double.
Asserting directly in the module seems sufficient for this test so the indirection
was removed.

* Turn CacheBuster into a module

This class used no internal state, so repeatedly creating short-lived objects seems wasteful.

* Fix specs after rebasing
2019-11-13 10:51:23 -05:00
..
article_suggester_spec.rb Refactor: fix issues raised by bullet (#2965) 2019-05-28 17:32:53 -04:00
assign_tag_moderator_spec.rb Enhance Internal Index Pages (#1747) 2019-02-06 10:25:19 -04:00
badge_rewarder_spec.rb Routine rubocop fixes after gem update (#4309) 2019-10-10 17:27:01 -04:00
bufferizer_spec.rb Add hashtags to linkedin body (#3866) 2019-08-28 14:49:31 -04:00
cache_buster_spec.rb CacheBuster refactoring (#4766) 2019-11-13 10:51:23 -05:00
color_from_image_spec.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
coupon_generator_spec.rb BlackBox specs #2524 (#2542) 2019-04-25 10:19:11 -04:00
email_digest_spec.rb Rubocop Style cops enabled (#2056) 2019-03-15 18:33:54 -04:00
email_logic_spec.rb Fix rubocop detected offenses (#4552) 2019-10-24 11:53:03 -04:00
emoji_converter_spec.rb Enables Rails cops (#2186) 2019-03-25 09:25:55 -04:00
flare_tag_spec.rb Enabled rubocop/lint (#2130) 2019-03-21 10:53:44 -04:00
follow_checker_spec.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
function_caller_spec.rb BlackBox specs #2524 (#2542) 2019-04-25 10:19:11 -04:00
generated_image_spec.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
hex_comparer_spec.rb Fixed some Style/* rubocop violations (#2314) 2019-04-06 14:24:33 -04:00
language_detector_spec.rb Fix rubocop detected offenses (#4552) 2019-10-24 11:53:03 -04:00
mailchimp_bot_spec.rb Remove all old membership code, see 97040ab6 (#3575) 2019-07-30 12:33:50 -04:00
markdown_fixer_spec.rb Fix rubocop detected offenses (#4552) 2019-10-24 11:53:03 -04:00
markdown_parser_spec.rb Wrap <figcaption> elements and content inside <figure> elements (#4645) 2019-11-06 15:05:45 -05:00
rate_limit_checker_spec.rb Rate limit daily user follows to 500 (#4647) [deploy] 2019-11-06 16:24:43 -05:00
reaction_image_spec.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
reading_list_spec.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
twilio_token_spec.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
unread_notifications_emailer_spec.rb Initial commit 2018-02-28 16:11:08 -05:00
user_similarity_spec.rb Upgrade Rubocop related gems and fix new violations (#3581) [ci skip] 2019-07-30 14:29:05 -04:00