Fix `body_classes` test for glitch-soc

pull/59/head^2
Claire 2023-04-29 11:08:38 +02:00
parent 12b935fadf
commit 612a1ee697
1 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,8 @@ describe ApplicationHelper do
before do before do
without_partial_double_verification do without_partial_double_verification do
allow(helper).to receive(:body_class_string).and_return('modal-layout compose-standalone') allow(helper).to receive(:body_class_string).and_return('modal-layout compose-standalone')
allow(helper).to receive(:current_theme).and_return('default') allow(helper).to receive(:current_flavour).and_return('glitch')
allow(helper).to receive(:current_skin).and_return('default')
allow(helper).to receive(:current_account).and_return(Fabricate(:account)) allow(helper).to receive(:current_account).and_return(Fabricate(:account))
end end
end end