On Fri, May 1, 2009 at 6:57 PM, Samuel Soares flores
<[email protected]> wrote:
>
>>
>> Managed to find the problem, the class ProductTemplate wasn't being
>> loaded so "it" wasn't working on an object.
>> The error is not very useful in this situation but I'm moving forward
>> again.
>>
>
> How did you solved it? I'm having the same problem.
> --
What I've found is that occasionally when there is a problem loading
the base class, the errors become very cryptic.
You can get to the base error by adding a very simple spec in the form of:
it "" { ... }
In my specific case, my model was in a different schema and so
ActiveRecord couldn't find the table in the database.
Andrew Timberlake
http://ramblingsonrails.com
http://www.linkedin.com/in/andrewtimberlake
"I have never let my schooling interfere with my education" - Mark Twain
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users