[rspec-users] Meridian case

2008-01-24 Thread Keith McDonnell
Hi, Here's the spec: 'absolute_time_in_words should say 'Today 08:00 PM'' FAILED expected: "Today 08:00 PM", got: "Today 08:00 pm" (using ==) absolute_time_in_words(Time.now.utc.change({ :hour => 20, :minute => 0, :second => 0 }), TZInfo::Timezone.get('Europe/Dubl

Re: [rspec-users] Meridian case

2008-01-24 Thread David Chelimsky
On Jan 24, 2008 5:40 AM, Keith McDonnell <[EMAIL PROTECTED]> 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: "

[rspec-users] Meridian case

2008-01-24 Thread Keith McDonnell
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 sp