Displaying 1 result from an estimated 1 matches for "new_releases".
Did you mean:
news_releases
2006 Jun 08
2
accessing fixtures in tests
hi all,
my first attempt at tests and i''m having trouble accessing the
fixture values, if anyone can make it suggestions.
i have news_release_test.rb, using new_releases.yml as the fixture file
according to the agile book, i should be able to access the fixture
properties within my test as such:
assert_equal @first_test.id , @news_release.id
unfortunately, i try that and get:
"test_create(NewsReleaseTest):
RuntimeError: Called id for nil, which would mis...