Forum: Ruby on Rails Another test problem

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Chris C. (Guest)
on 2006-03-26 13:49
I hope there's not a typo this time ;-)

With self.use_instantiated_fixtures  = false in test_helper.rb (default
since 1.0 version) I want on demand instances.

return a Fixture object (breakpointed, I see the data of fixture
fields). So I assume that publish_articles is well populated with
fixture datas

assert_equal publish_articles(:article_linux).title, @article.title
produce an error because publish_articles(:article_linux) evaluate to

Why ? I don't see the reason.
This topic is locked and can not be replied to.