ForgeChat/forgechat/nf
File was removed.
ForgeChat/forgechat/nf/+plugin_name+
File was removed.
ForgeChat/forgechat/nf/+plugin_name+/js
File was removed.
ForgeChat/forgechat/static
File was removed.
ForgeChat/forgechat/static/+plugin_name+
File was removed.
ForgeChat/forgechat/static/+plugin_name+/js
File was removed.
ForgeChat/forgechat/static/+plugin_name+/js/comments.js
File was removed.
ForgeChat/forgechat/nf/+plugin_name+/js/comments.js to ForgeChat/forgechat/tests/functional/test_root.py
--- a/ForgeChat/forgechat/nf/+plugin_name+/js/comments.js +++ b/ForgeChat/forgechat/tests/functional/test_root.py @@ -1,11 +1,7 @@ -(function($){ - $(function() { - console.log('in comments.js'); - $('div.reply').each(function() { - var form = $('form', this).addClass('hidden'); - $('h3', this).click(function() { - form.toggleClass('hidden'); - }); - }); - }); -})(jQuery); +from forgechat.tests import TestController + +class TestRootController(TestController): + + def test_root_index(self): + response = self.app.get('/chat/').follow() + assert 'Log for' in response