heartcombo--devise/test
Carlos Antonio da Silva b5172a0cdb Fix csrf cleanup for Rails 7.1 (main)
Rails implemented a CSRF token storage strategy to allow storing the
CSRF tokens outside of the sessios (for example, in an encrypted
cookie), and changed how the value is kept around during the request
cycle, by using a request.env value.

We still want to ensure the final session value is cleaned correctly in
the test, but the implementation needed to change since we can't simply
delete from the session anymore, we need to make sure we call the Rails
methods for resetting the current storage strategy so it works with all
of them.

https://github.com/rails/rails/pull/44283
2022-04-22 11:08:44 -03:00
..
controllers Add spaces around method arguments when setting default values 2020-08-31 18:15:45 -03:00
generators Add spaces around method arguments when setting default values 2020-08-31 18:15:45 -03:00
helpers Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00
integration Fix csrf cleanup for Rails 7.1 (main) 2022-04-22 11:08:44 -03:00
mailers User `assert_includes`/`refute_includes` minitest helpers 2020-08-27 18:38:26 -03:00
models Create a model hook around the lockable warden hook to reset attempts 2021-04-02 15:45:25 -03:00
omniauth Add spaces around method arguments when setting default values 2020-08-31 18:15:45 -03:00
orm Test against Rails main and remove `ActiveSupport::Dependencies.reference` (#5357) 2021-10-07 17:18:37 -03:00
rails_app Check for empty response body on redirect with Rails main (future 7.1) 2022-04-22 09:30:58 -03:00
support Add spaces around method arguments when setting default values 2020-08-31 18:15:45 -03:00
test Check for empty response body on redirect with Rails main (future 7.1) 2022-04-22 09:30:58 -03:00
delegator_test.rb Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00
devise_test.rb Officially support Rails 6.0 2019-06-12 16:10:13 -04:00
failure_app_test.rb Check for empty response body on redirect with Rails main (future 7.1) 2022-04-22 09:30:58 -03:00
mapping_test.rb Add spaces around method arguments when setting default values 2020-08-31 18:15:45 -03:00
models_test.rb Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00
parameter_sanitizer_test.rb Fix error when params is not a hash 2018-05-09 14:56:50 -03:00
rails_test.rb Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00
routes_test.rb Replace XML with JSON serialization across the test suite 2021-02-15 14:40:05 -03:00
secret_key_finder_test.rb find auto-generated secret_key_base in development (#4869) 2018-05-14 18:09:25 -03:00
test_helper.rb Remove mocha deprecation warning 2020-06-07 19:49:51 -03:00
test_models.rb Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00