about summary refs log tree commit diff
path: root/spec/controllers/application_controller_spec.rb
AgeCommit message (Collapse)Author
2018-04-21Use raw status code on have_http_status (#7214)Yamagishi Kazutoshi
2018-04-03Improve require_admin! and require_staff! filters (#7018)Emelia Smith
Previously these returns 302 redirects instead of 403s, which meant posting links to admin pages in slack caused them to unfurl, rather than stay as a link. Additionally, require_admin! doesn't appear to be actively used, on require_staff!
2018-01-07Fix force_ssl conditional (#6201)Yamagishi Kazutoshi
2017-06-07Use "match_array" only for order independent assertions (#3626)unarist
2017-06-01Spec response for forgery (#3248)Akihiko Odaki (@fn_aki@pawoo.net)
Remove protect_from_forgery in ApiController, which is disabled by the following skip_before_action, as well.
2017-05-31Keep ENV['LOCAL_HTTPS'] with ApplicationControllerSpec (fix random fail) (#3479)Yamagishi Kazutoshi
* Keep ENV['LOCAL_HTTPS'] with ApplicationControllerSpec (fix random fail) * use climate_control
2017-05-22Cover ApplicationController more in spec (#3230)Akihiko Odaki
2017-05-22single_user_mode? always returns boolean (#3215)Akihiko Odaki
This change also adds a specification for the method.