Hi all, I submitted a diff for ticket 4588 and run the current test suite against it and eveyrthing works fine. I tried to generate my proper tests for testing special characters following the patch. However I don't understand everything that needs to be done in order to properly insert a test in the test/unit/ajax_inplaceeditor_test.html file.
So I modified directly the : <h1 id="tobeedited">To be edited</h1> to : <h1 id="tobeedited">To be edited &</h1> Without the patch the testInPlaceEditor failes : 31 assertions, 2 failures, 0 errors Failure: assertEqual: expected "'To be edited &'", actual "'To be edited &'" Failure: assertEqual: expected "'To be edited &'", actual "'To be edited &'" With the patch the testInPlaceEditor passes : 33 assertions, 0 failures, 0 errors I did the same tests for multiline edition. So if someone knowing how to implement properly the tests and/or explain me how to do it, hopefully this patch will get closed. Thanks. Mathieu --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs -~----------~----~----~----~------~----~------~--~---
