universitas icon indicating copy to clipboard operation
universitas copied to clipboard

Capybara + Rack 1.2.3 encoding issues

Open dogenpunk opened this issue 13 years ago • 2 comments

Rack is spewing errors when running acceptance tests. gems/rack-1.2.3/lib/rack/utils.rb:16: warning: regexp match /.../n against to UTF-8 string https://github.com/jnicklas/capybara/issues/243 -- this is fixed in Rack 1.3 on which Rails 3.1 will depend, so updating when Rails 3.1 is released should resolve this. If this is annoying for anyone else there is a patch for Capybara that supposedly removes the offending message.

dogenpunk avatar Jul 01 '11 15:07 dogenpunk

(lol closed by mistake)

Yeah I don't really mind about this but nice to know it will be fixed. I was planning to migrate to 3.1 when it becomes stable (like 2 months after official release).

Btw there's a failing acceptance test that I committed a couple of days ago (to add the .example files). I'm fixing it right now =P

pedromtavares avatar Jul 01 '11 16:07 pedromtavares

Cool, I just wanted to get it down somewhere in case folks were wondering about it.

dogenpunk avatar Jul 01 '11 16:07 dogenpunk