mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-02-15 07:03:49 -05:00
Fix body_classes
test for glitch-soc
This commit is contained in:
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…
x
Reference in New Issue
Block a user