diff --git a/spec/views/about/index_advanced.html.haml_spec.rb b/spec/views/about/index_advanced.html.haml_spec.rb
index 000e028d..22308b93 100644
--- a/spec/views/about/index_advanced.html.haml_spec.rb
+++ b/spec/views/about/index_advanced.html.haml_spec.rb
@@ -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)