Allow other encountered dig calls in index_advanced spec to pass through

This commit is contained in:
Andreas Nedbal 2025-02-28 22:05:17 +01:00
parent d2568d9065
commit 9f8fadbc9c

View file

@ -13,6 +13,10 @@ describe "about/index_advanced.html.haml", type: :view do
subject(:rendered) { render }
before do
allow(APP_CONFIG).to receive(:dig).and_call_original
end
context "registrations are enabled" do
before do
allow(APP_CONFIG).to receive(:dig).with(:features, :registration, :enabled).and_return(true)