You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/spec/controllers
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
8 years ago
..
admin Move admin/pubsubhubbub controller to admin/subscriptions (#3442) 8 years ago
api Redirect to streaming_api_base_url (#3579) 8 years ago
auth Spec Auth::ConfirmationsController (#3348) 8 years ago
concerns Coverage improvement and concern extraction for rate limit headers in API controller (#3625) 8 years ago
oauth Cover Oauth::AuthorizedApplicationsController (#3359) 8 years ago
settings Remove exports/base controller in favor of shared concern (#3444) 8 years ago
well_known Fix spec for #2388 (#3526) 8 years ago
about_controller_spec.rb Cover AboutController more in spec (#3226) 8 years ago
account_follow_controller_spec.rb Cover AccountFollowController more in spec (#3227) 8 years ago
account_unfollow_controller_spec.rb Cover AccountUnfollowController more in spec (#3228) 8 years ago
accounts_controller_spec.rb Cover AccountsController more in spec (#3229) 8 years ago
api_controller_spec.rb Coverage improvement and concern extraction for rate limit headers in API controller (#3625) 8 years ago
application_controller_spec.rb Spec response for forgery (#3248) 8 years ago
authorize_follows_controller_spec.rb Spec AuthorizeFollowsController assigns @account (#3246) 8 years ago
follower_accounts_controller_spec.rb Introduce recent to Follow (#3247) 8 years ago
following_accounts_controller_spec.rb Introduce recent to Follow (#3247) 8 years ago
home_controller_spec.rb Cover HomeController more (#3258) 8 years ago
media_controller_spec.rb Extract authorization policy for viewing statuses (#3150) 8 years ago
remote_follow_controller_spec.rb Fix #2027 - Accept own ID for remote follow with and without preceding @ (#2991) 8 years ago
statuses_controller_spec.rb Cover StatusesController more (#3259) 8 years ago
stream_entries_controller_spec.rb Cover StreamEntriesController more and remove redundant instructions (#3257) 8 years ago
tags_controller_spec.rb Cover TagsController more (#3306) 8 years ago