1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test
eileencodes 2e4a01b92c Call super last in before_setup
This fixes the reasons 4cf3b8a, 303567e, and fa63448 needed to be
reverted in 7142059. The revert has been reverted and this fixes
the issues caused previously.

If we call `super` first we will end up nuking the session settings in the
application tests that do `setup do` - so any session login or cookie
settings will not be persisted thoughout the test sessions.

Calling `super` last prevents `@integration_session` from getting nuked
and set to nil if it's already set.

Test added to prevent regression of this behavior in the future.
2015-03-09 17:11:15 -04:00
..
abstract Merge pull request #11790 from printercu/patch-3 2015-02-12 15:39:17 -02:00
assertions
controller Call super last in before_setup 2015-03-09 17:11:15 -04:00
dispatch Revert "Revert integration test refactoring that caused app test regressions" 2015-03-09 17:10:24 -04:00
fixtures Merge pull request #18948 from kaspth/automatic-collection-caching 2015-02-25 11:54:07 -03:00
journey Merge pull request #15806 from tgxworld/partition_routes_during_setup 2015-03-02 15:02:14 -08:00
lib/controller Removing unused fake models 2014-09-07 22:51:14 -03:00
routing Remove deprecate *_path helpers in email views 2015-01-04 11:58:42 -03:00
tmp
abstract_unit.rb Run ActionPack test cases in random order. 2015-03-06 00:24:22 +08:00