• Lucas Charles's avatar
    Drop default rule_type when creating project approval rules · 9bd447fb
    Lucas Charles authored
    Project approval rules already have a default column `rule_type` set &
    shouldn't require an explicit one.
    
    This actually interferes with `ApprovalRules::CreateService` which
    assumes an explicitly passed `rule_type` should be set by using a
    `#reverse_merge`.  By dropping the forced default we can roll out a more
    gradual frontend update to trigger this behavior rather than require
    changes on both the backend and frontend
    9bd447fb
project_approval_rules_spec.rb 7.22 KB