Skip to content
This repository was archived by the owner on Jun 2, 2021. It is now read-only.

Commit 1d11438

Browse files
committed
Fix missed test in making org list fetcher static
Fixes error: `VCAP::CloudController::OrgListFetcher does not implement #fetch` Follow up to 4858ee6, missed a test when fixing things [#173719526] Authored-by: Sarah Weinstein <sweinstein@pivotal.io>
1 parent 4858ee6 commit 1d11438

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/unit/controllers/v3/organizations_controller_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211
end
212212

213213
it 'eager loads associated resources that the presenter specifies' do
214-
expect_any_instance_of(VCAP::CloudController::OrgListFetcher).to receive(:fetch).with(
214+
expect(VCAP::CloudController::OrgListFetcher).to receive(:fetch).with(
215215
hash_including(eager_loaded_associations: [:labels, :annotations, :quota_definition])
216216
).and_call_original
217217

0 commit comments

Comments
 (0)