[rspec-users] Meridian case

David Chelimsky dchelimsky at gmail.com
Thu Jan 24 09:46:57 EST 2008


On Jan 24, 2008 5:40 AM, Keith McDonnell <keith at dancingtext.com> wrote:
> Hi there,
>
> I have a *really* weird issue with rspec on rails:
>
> Given a time meridian formatted using %p
>
> When I run `rake spec` the time meridian is converted to lower case:
>
> expected: "Today 08:00 PM",
>       got: "Today 08:00 pm"
>
> Yet when I run `rake spec:models` and `spec -cfs app/models` the specs
> pass, ie the the time meridian is in upper case.
>
> Anyone got any ideas how I can troubleshoot this one ? I'm using rails
> 1.2.3, ruby 1.8.6, i686-darwin8.10.1, RSpec-1.0.6 (r2183)

Can we see the code for the example and the method that is returning this value?

>
> Thanks in advance.
>
> Keith
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list