What you said above doesn't work. Could you show me how you are using it in your controller?
However, after experimenting some more the following does work for me:
function setUp() { $this->object = new BlogsController; $this->object->Blog = new Blog; }This allows me to call:
debug($this->object->Tyre->findAll());
However, it's probably best to Mock the Models. On that note, I still haven't gotten Felix's helper to work.
Cheers,
Sonic
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" 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/cake-php
-~----------~----~----~----~------~----~------~--~---
