Commit 400b979f authored by Andreas Brandl's avatar Andreas Brandl

Newlines for specs

parent 1e0673f9
......@@ -14,14 +14,16 @@ describe API::ProjectsBatchCounting do
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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment