• Stan Hu's avatar
    Fix hard-coded IDs in failing metrics_dashboard_spec.rb · b5df15d8
    Stan Hu authored
    `spec/requests/projects/metrics_dashboard_spec.rb` was failing because
    it was expecting environment ID 99 not to exist, but if previous specs
    incremented the sequence then it's entirely possible for this spec to
    create an environment with that ID. We now use the max value to test
    this.
    b5df15d8
metrics_dashboard_spec.rb 4.18 KB