Skip to content
Snippets Groups Projects
Verified Commit 400b979f authored by Andreas Brandl's avatar Andreas Brandl
Browse files

Newlines for specs

parent 1e0673f9
No related branches found
No related tags found
1 merge request!21130Refactor project API helpers
......@@ -14,14 +14,16 @@
let(:preloaded_projects) { double }
it 'preloads the relation' do
expect(subject).to receive(:preload_relation).with(projects).and_return(preloaded_projects)
allow(subject).to receive(:execute_batch_counting).with(preloaded_projects)
expect(subject).to receive(:preload_relation).with(projects).and_return(preloaded_projects)
expect(subject.prepare!(projects)).to eq(preloaded_projects)
end
it 'executes batch counting' do
allow(subject).to receive(:preload_relation).with(projects).and_return(preloaded_projects)
expect(subject).to receive(:execute_batch_counting).with(preloaded_projects)
subject.prepare!(projects)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment