Guard against missing namespace_settings
In some cases, namespace_settings can be absent; other code accessing this from group have similar implementations of safe navigation. Making this change also exposed that Project#adjourned_deletion?, despite the boolean promise implied by ?, can also return a nil for some cases. All calls to this method test for boolean, relying on Ruby interpreting nil as false, so this one test, explicitly testing for nil-ness, fails.
Showing
Please register or sign in to comment