[rspec-users] Specs for Ajax partials with unicode characters

David Chelimsky dchelimsky at gmail.com
Thu Feb 15 11:49:29 EST 2007


On 2/12/07, Ashley Moran <work at ashleymoran.me.uk> wrote:
>
> On 12 Feb 2007, at 15:13, David Chelimsky wrote:
>
> > Ashley - are both specs failing? Or just the one using
> > "should_have_tag"?
>
>
> David
>
> Both specs fail.  The text mangling must happen before it reaches
> RSpec, so that both assertions see the same encoded string.

Yes - looks like json does that transformation. My feeling is that you
should probably use '\u00a3500' and that's OK. The reality is that is
what shows up in the response.

WDYT?

David

>
> Ashley
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list