1
0
Fork 0
forked from fedi/mastodon
mastodon/spec/controllers/concerns
Matt Jankowski f0634ba876 Coverage improvement and concern extraction for rate limit headers in API controller (#3625)
* Coverage for rate limit headers

* Move rate limit headers methods to concern

* Move throttle check to condition on before_action

* Move match_data variable into method

* Move utc timestamp to separate method

* Move header setting into smaller methods

* specs cleanup
2017-06-07 17:23:26 +02:00
..
account_controller_concern_spec.rb Spec AccountControllerConcern (#3349) 2017-05-29 18:12:54 +02:00
export_controller_concern_spec.rb Remove exports/base controller in favor of shared concern (#3444) 2017-05-30 19:06:01 +02:00
obfuscate_filename_spec.rb Remove methods from ObfuscateFilename and spec (#3347) 2017-05-29 18:14:16 +02:00
rate_limit_headers_spec.rb Coverage improvement and concern extraction for rate limit headers in API controller (#3625) 2017-06-07 17:23:26 +02:00
user_tracking_concern_spec.rb Extract user tracking into concern (#2600) 2017-04-30 00:28:16 +02:00