Fix hard-coded IDs in failing metrics_dashboard_spec.rb
`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.
Showing
Please register or sign in to comment