In a ViewComponent spec:
allow(vc_test_controller).to receive(:default_url_options).and_return({ current_mandator_id: 'mandator_1' })
Feb 14, 2025
In a ViewComponent spec:
allow(vc_test_controller).to receive(:default_url_options).and_return({ current_mandator_id: 'mandator_1' })