rspec-mock warning in a Geo-related project spec
Ran this test locally and got this output:
WARNING: `allow(...).to receive(..).ordered` is not supported and willhave no effect, use `and_return(*ordered_values)` instead.. Called from /Users/tsigo/Code/gitlab/gdk-ee/gitlab-ee/spec/models/ee/project_spec.rb:755:in `block (4 levels) in <top (required)>'
WARNING: `allow(...).to receive(..).ordered` is not supported and willhave no effect, use `and_return(*ordered_values)` instead.. Called from /Users/tsigo/Code/gitlab/gdk-ee/gitlab-ee/spec/models/ee/project_spec.rb:760:in `block (4 levels) in <top (required)>'.
Relevant lines are https://gitlab.com/gitlab-org/gitlab-ee/blob/5a9b6b5ee6c135b657148ea006661659341c3382/spec/models/ee/project_spec.rb#L755-763
Since we're only returning one value I'm not sure we need ordered
at all.
cc @dbalexandre