Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3-RC1
    • Component/s: Testing
    • Labels:
      None

      Description

      We need the GrailsUrlMappingsTestCase to be able to test URL mappings like this:

      "/login"

      { controller = "login" action = [POST:'attempt', GET:'index'] }

        Activity

        Hide
        Kris Lander added a comment -

        This would be really useful, we use GET/POST on all of our forms and it's especially important to test the mappings for our RESTful webservices.

        Show
        Kris Lander added a comment - This would be really useful, we use GET/POST on all of our forms and it's especially important to test the mappings for our RESTful webservices.
        Hide
        Luke Daley added a comment -

        Moving to 1.4 as it is too big to go in the 1.3 line now.

        Show
        Luke Daley added a comment - Moving to 1.4 as it is too big to go in the 1.3 line now.
        Hide
        Graeme Rocher added a comment -

        This syntax is deprecated and now there is built in knowledge of the HTTP method. Tests can simply pass the 'method' argument to specify which HTTP method to match

        Show
        Graeme Rocher added a comment - This syntax is deprecated and now there is built in knowledge of the HTTP method. Tests can simply pass the 'method' argument to specify which HTTP method to match

          People

          • Assignee:
            Graeme Rocher
            Reporter:
            Robert Fischer
          • Votes:
            13 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Last Reviewed:

              Development