Always use the same order specs for `MultiCollectionPaginator`
This commit is contained in:
parent
5a903149e7
commit
2c6c2ed6fa
|
@ -1,7 +1,7 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe Gitlab::MultiCollectionPaginator do
|
||||
subject(:paginator) { described_class.new(Project.all, Group.all, per_page: 3) }
|
||||
subject(:paginator) { described_class.new(Project.all.order(:id), Group.all.order(:id), per_page: 3) }
|
||||
|
||||
it 'combines both collections' do
|
||||
project = create(:project)
|
||||
|
|
Loading…
Reference in New Issue