1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-25 07:37:08 +09:00
whippy-edition/spec
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
..
controllers Coverage improvement and concern extraction for rate limit headers in API controller (#3625) 2017-06-07 17:23:26 +02:00
fabricators Remove redundant code in AtomSerializer and spec (#3528) 2017-06-03 20:51:08 +02:00
features Add scenarios for log in (#3497) 2017-06-01 17:25:59 +02:00
fixtures A minor change for ProviderDiscovery and spec (#3543) 2017-06-04 14:59:40 +02:00
helpers Hold value of I18n.locale with ApplicationHelperSpec (#3474) 2017-05-31 17:09:28 +02:00
javascript Add quotes ESLint rules (#3602) 2017-06-06 03:56:36 +02:00
lib Introduce StatusThreadingConcern (#3490) 2017-06-05 16:07:44 +02:00
mailers Misc spec coverage improvements (#2821) 2017-05-05 14:56:00 -04:00
models Fix tag search order and not to use tsvector (#3611) 2017-06-06 16:07:06 +02:00
policies Add status destroy authorization to policy (#3453) 2017-05-30 22:56:31 +02:00
presenters Use around hook to restore context in InstancePresenter spec (#3430) 2017-05-30 09:03:35 -04:00
requests Remove the react-rails gem (#2801) 2017-05-04 23:45:18 +02:00
routing Spec coverage and refactor for the api/v1/accounts controllers (#3451) 2017-05-31 21:36:24 +02:00
services Fix 500 errors on searching invalid URLs (#3613) 2017-06-06 16:44:48 +02:00
support Spec ScopedSettings (#3559) 2017-06-04 17:07:39 +02:00
views Update rails to version 5.0.3 (#3054) 2017-05-14 16:30:14 +02:00
workers Specs for cleanup workers (#3235) 2017-05-22 19:36:21 +02:00
rails_helper.rb Disable sidekiq logging in test mode (#2962) 2017-05-10 16:16:42 +02:00
spec_helper.rb Add more tests for AtomSerializer (#2096) 2017-04-18 22:30:17 +02:00