Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #9673 (new defect)

Opened 8 months ago

Bug in script.aculo.us ajax autocompleter unit tests

Reported by: niels Assigned to: madrobby
Priority: normal Milestone: 2.x
Component: script.aculo.us Version: edge
Severity: minor Keywords: unit test
Cc:

Description

Line 78 of spinoffs/scriptaculous/test/unit/ajax_autocompleter_test.html lacks the classname argument to the hasClassName call.

// second entry should be selected
assert(!Element.hasClassName($('ac_update').firstChild.firstChild),'Item shouldn\'t have a className of: selected')

should be ->

assert(!Element.hasClassName($('ac_update').firstChild.firstChild, 'selected'),'Item shouldn\'t have a className of: selected')

I have attached a patch against revision 6954

Attachments

ajax_autocompleter_test.html.patch (276 bytes) - added by niels on 09/25/07 09:14:37.
Patch for ticket #9673

Change History

09/25/07 09:14:37 changed by niels

  • attachment ajax_autocompleter_test.html.patch added.

Patch for ticket #9673