Fix `body_classes` test for glitch-soc
parent
12b935fadf
commit
612a1ee697
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue