Set default_url_options
In a ViewComponent spec:
allow(vc_test_controller).to receive(:default_url_options).and_return({ current_mandator_id: 'mandator_1' })
In a ViewComponent spec:
allow(vc_test_controller).to receive(:default_url_options).and_return({ current_mandator_id: 'mandator_1' })