DEV: debundle plugin css assets and don't load if disabled (#7646)

This commit is contained in:
Vinoth Kannan
2019-08-20 22:09:52 +05:30
committed by GitHub
parent 36425eb9f0
commit 5bd6b70d98
14 changed files with 76 additions and 52 deletions

View File

@ -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