• Alex Kalderimis's avatar
    Change type of CiJob.needs · bb5ec122
    Alex Kalderimis authored
    This changes the type of `CiJob.needs` from `JobType.connection_type`
    to `BuildNeedType.connection_type`. This is because `Build#needs` does
    not return a relation of builds, but one of `Ci::BuildNeed`.
    
    This change is a backwards compatible bug-fix.
    Any query that works now will continue to work.
    bb5ec122
jobs_spec.rb 5 KB