webrat/mechanize treats Array as String
Reported by manveru | June 7th, 2009 @ 04:26 AM
On Ruby 1.9, Array#to_s is equivalent with Array#inspect, but
lib/webrat/mechanize.rb still relies on the implicit Array#to_s in
a string interpolation.
My patch fixes this by doing an explicit #join on the array in question.
This fix makes mechanize_session_spec pass on 1.9.
Comments and changes to this ticket
- Assigned user set to Bryan Helmkamp
This ticket can be closed. Patch applied 2 months ago to master http://github.com/brynary/webrat/commit/9134b09b873b49729ec78fe5877...