• Kerri Miller's avatar
    Guard against missing namespace_settings · a7246f95
    Kerri Miller authored
    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.
    a7246f95
project_spec.rb 111 KB