[Nitro] Timestamped not working
george.moschovitis at gmail.com
Thu Sep 6 10:02:41 EDT 2007
Pull again, it is fixed now.
On 9/6/07, gabriele renzi <rff_rff at yahoo.it> wrote:
> On Thu, 06 Sep 2007 13:17:11 +0300, George Moschovitis wrote:
> > You are probably using Og without Nitro. In the repo version of Nitro
> > have to call
> > Aspects.setup
> > for this to work. Have a look at the timestamped spec I just added.
> ok, the spec does not run correctly for me:
> rff at ut:~/nitro$ ruby og/test/og/model/timestamped.rb
> 'the timestamped mixin automatically fills timestamp attributes when
> inserting models' FAILED
> expected: Time,
> got: NilClass (using ==)
> As far as I understand Aspects.setup is called by SpecHelper.setup so it
> should work, but it seems it doesn't.
> Maybe there is some change you have not pushed yet ?
> goto 10: http://www.goto10.it
> blog it: http://riffraff.blogsome.com
> blog en: http://www.riffraff.info
> Nitro-general mailing list
> Nitro-general at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Nitro-general