mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-01 11:33:02 +01:00
Allow other encountered dig calls in index_advanced spec to pass through
This commit is contained in:
parent
d2568d9065
commit
9f8fadbc9c
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue