Skip to content

Use Current Organization Helper for mocking Current.organization

Rutger Wessels requested to merge 446183-remove-mocking-current-org into master

What does this MR do and why?

With the merge of !157612 (merged), we can close #446183 (closed)

The issue is about fixing a spec helper for Current.organization: it will now mock Current.organization

This MR will switch up some left over usages of allow(Current).to receive(:organization) to the Current Organization Helper

Related to #446183 (closed)

Edited by Rutger Wessels

Merge request reports

Loading