diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-08-07 19:59:13 +0200 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2016-08-07 19:59:13 +0200 |
commit | b377fc067d01b87779459baa0ec6896b6b7fa701 (patch) | |
tree | f5d465d930f441f6fb775ebb425a8ba7be038ede /actioncable/lib/action_cable/subscription_adapter | |
parent | 6530fe6a251d4a4b32f876048dde1d846cfe4a17 (diff) | |
download | rails-b377fc067d01b87779459baa0ec6896b6b7fa701.tar.gz rails-b377fc067d01b87779459baa0ec6896b6b7fa701.tar.bz2 rails-b377fc067d01b87779459baa0ec6896b6b7fa701.zip |
Assign config on base instead of on `@controller`.
In some test runs `ActionController::Base.enable_fragment_cache_logging` would be false,
based on the test order.
Turns out it was off because we assigned the config to the `@controller` variable, and
not on `ActionController::Base`.
The test failure was reproducible with, and now passes after this:
```
bin/test test/controller/log_subscriber_test.rb --seed 19918
```
Diffstat (limited to 'actioncable/lib/action_cable/subscription_adapter')
0 files changed, 0 insertions, 0 deletions