• James Edwards-Jones's avatar
    Cycle analytics specs needed Commit to reference issue · 29519edb
    James Edwards-Jones authored
    The plan stage both measures time taken and lists related commits. We test for commits being listed, so needed to actually mention the issue in them. An alternative would have been adding “allow_any_instance_of(Commit).to receive(:matches_cross_reference_regex?).and_return(true)” but this felt too coupled to implementation.
    29519edb
cycle_analytics_helpers.rb 2.23 KB