mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:37:02 +08:00
DEV: debundle plugin css assets and don't load if disabled (#7646)
This commit is contained in:
@ -28,8 +28,8 @@ describe DiscoursePlugin do
|
||||
end
|
||||
|
||||
it "delegates adding css to the registry" do
|
||||
registry.expects(:register_css).with('test.css')
|
||||
plugin.register_css('test.css')
|
||||
registry.expects(:register_css).with('test.css', 'test')
|
||||
plugin.register_css('test.css', 'test')
|
||||
end
|
||||
|
||||
it "delegates creating archetypes" do
|
||||
|
Reference in New Issue
Block a user