Commits

Anonymous committed 87b8b9c

[svn] Test updates for new locations

Comments (0)

Files changed (9)

     version='0.1',
     description='Web Helpers',
     long_description="""
-Rails Helpers is a library of helper functions intended to make writing templates in web
-applications easier. As the name indicates, these helpers have been directly ported from
-the Ruby on Rails version with slight adaptations on occasion to accomodate for Python.
+Web Helpers is a library of helper functions intended to make writing templates in web
+applications easier. 
 
-These helpers only require `Routes <http://routes.groovie.org/>`_ to function.
+One of the sub-sections of Web Helpers contains a full port of the template helpers that
+are provided by Ruby on Rails with slight adaptations on occasion to accomodate for Python.
+
+Some of these helpers only require `Routes <http://routes.groovie.org/>`_ to function.
 
 * `Development svn <http://pylonshq.com/svn/WebHelpers/trunk#egg=WebHelpers-dev>`_
 
                ],
     entry_points="""
     [paste.paster_command]
-    scriptaculous=railshelpers.commands:ScriptaculousCommand
+    scriptaculous=webhelpers.commands:ScriptaculousCommand
     """,
 )

tests/test_date.py

 from datetime import timedelta
 import time
 
-from railshelpers.helpers.date import *
+from webhelpers.rails.date import *
 
 class TestDateHelper(TestCase):
     

tests/test_form_tag.py

 from unittest import TestCase
 import unittest
 
-from railshelpers.helpers.form_tag import *
+from webhelpers.rails.form_tag import *
 
 class TestFormTagHelper(TestCase):
     def test_check_box(self):

tests/test_javascript.py

 from unittest import TestCase
 import unittest
 
-from railshelpers.helpers.javascript import *
+from webhelpers.rails.javascript import *
 
 class TestJavascriptHelper(TestCase):
     def test_escape_javascript(self):

tests/test_prototype.py

 from unittest import TestCase
 import unittest
 
-from railshelpers.helpers.url import *
-from railshelpers.helpers.prototype import *
+from webhelpers.rails.url import *
+from webhelpers.rails.prototype import *
 from routes import *
 
 class TestPrototypeHelper(TestCase):

tests/test_scriptaculous.py

 from unittest import TestCase
 import unittest
 
-from railshelpers.helpers.scriptaculous import *
+from webhelpers.rails.scriptaculous import *
 
 class TestScriptaculousHelper(TestCase):
     def test_effect(self):

tests/test_tag.py

 from unittest import TestCase
 import unittest
 
-from railshelpers.helpers.tag import *
+from webhelpers.rails.tag import *
 
 class TestTagHelper(TestCase):
     def test_tag(self):

tests/test_text.py

 import unittest
 from string24 import Template
 
-from railshelpers.helpers.text import *
+from webhelpers.rails.text import *
 
 class TestTextHelper(TestCase):
     

tests/test_url.py

 from unittest import TestCase
 import unittest
 
-from railshelpers.helpers.url import *
+from webhelpers.rails.url import *
 from routes import *
 
 class TestURLHelper(TestCase):
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.