Files
openfoodnetwork/spec
Maikel Linke 36c44a5487 Allow FeatureToggleConstraint to run w/o warden
Routing specs and controller specs don't set warden on the request
environment. While we could try to re-implement Warden/Devise logic
here, it's much easier to not rely on the environment to be set.

While I'm usually opposed to changing production code to make testing
easier, it does avoid a lot of complication in this case. And maybe it
would be handy in other circumstances to have a more defensive approach
to checking the logged in user.
2022-10-27 15:07:04 +11:00
..
2022-09-30 13:13:39 +01:00
2022-10-08 10:00:57 +02:00
2022-02-16 10:33:49 +11:00
2022-10-18 11:32:14 +11:00
2022-10-18 11:32:14 +11:00
2022-10-19 17:36:52 +11:00
2022-10-25 17:39:10 +01:00
2022-02-16 10:23:22 +11:00
2022-08-11 10:44:22 +01:00