Displaying 1 result from an estimated 1 matches for "alice_group".
2006 May 22
1
Agile Web Dev unit test fails with fixture instance variable
...r nil, which would mistakenly be 4 -- if you
really wanted the id of nil, use object_id
test/unit/group_test.rb:8:in `setup_without_fixtures''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/fixtures.rb:548:in
`setup''
Line 8:
@group = Group.find(@alice_group.id)
where alice_group is my Group fixture.
I know there are a few issues with the testing section of the Agile book
- have I just hit one?
thanks
Lindsay.
--
Posted via http://www.ruby-forum.com/.