-
- Downloads
There was a problem fetching the pipeline summary.
Cycle analytics specs needed Commit to reference issue
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.
parent
020295ff
No related branches found
No related tags found
Pipeline #
Showing
- spec/features/cycle_analytics_spec.rb 1 addition, 2 deletionsspec/features/cycle_analytics_spec.rb
- spec/lib/gitlab/cycle_analytics/events_spec.rb 1 addition, 3 deletionsspec/lib/gitlab/cycle_analytics/events_spec.rb
- spec/requests/projects/cycle_analytics_events_spec.rb 1 addition, 3 deletionsspec/requests/projects/cycle_analytics_events_spec.rb
- spec/support/cycle_analytics_helpers.rb 2 additions, 2 deletionsspec/support/cycle_analytics_helpers.rb
Please register or sign in to comment