I think it''s related to the confirmation email encoding .. as the
assertion
is
assert_equal"edgard.poe-PV5Ro7/Mrj4@public.gmane.org",
sent_email.to[0]
sent_email.to[0] is still in ("US-ASCII") need to modify it
Le jeudi 22 novembre 2012 16:32:37 UTC+1, Erwin a écrit
:>
> I got an error in my functional test which is is fine ( the emails are
> effectively different...) BUT my question is related to the encoding
> informatin displayed ....
>
> in my registration_controller_test.rb file , I have at the top
> > # encoding: utf-8
> , so the expected string is UTF-8
> and I get ("US-ASCII"). from the controller ... does it means I
have to
> also insert
> > # encoding: utf-8
> at the top of the controller ?
>
> Failure:
>
<"john.doe-PV5Ro7/Mrj4@public.gmane.org">("UTF-8")
expected but was
>
<"edgard.poe-PV5Ro7/Mrj4@public.gmane.org">("US-ASCII").
>
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/7NKC-_EVLRMJ.
For more options, visit https://groups.google.com/groups/opt_out.