Meridian case

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)

Thanks in advance.

Keith

On Jan 24, 2008 5:40 AM, Keith McDonnell [email protected] wrote:

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?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs