Another test problem

I hope there’s not a typo this time :wink:

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs