On Fri, May 7, 2010 at 4:39 PM, Fearless Fool <[email protected]> wrote:
> I must be missing something fundamental.  In the test code below, the
> assertion should fail unless WebPageCache.count == 1.

>    assert (WebPageCache.count == 1), "WebPageCache size is not 1"

Did you try WebPageCache.count.to_i == 1 or WebPageCache.count == '1' ?


-- 
Greg Donald
destiney.com | gregdonald.com

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to