We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 618b5a3 commit d117a91Copy full SHA for d117a91
spec/superset/dataset/warm_up_cache_spec.rb
@@ -47,9 +47,9 @@
47
allow(subject).to receive(:fetch_dataset_details).with(dashboard_id) { dataset_details }
48
allow(subject).to receive(:api_response).and_return(api_response)
49
end
50
- it 'warms up both the dataset' do
+ it 'warms up all the datasets' do
51
subject.response
52
- expect(subject).to have_received(:api_response).twice
+ expect(subject).to have_received(:api_response).exactly(dataset_details.count).times
53
54
55
0 commit comments