Displaying 1 result from an estimated 1 matches for "test_set_sub_tree".
2007 Mar 13
0
ActiveRecord: strange tree behavior???
...one help me with understanding, why i can''t get my
set_sub_tree method to run correctly and what to do to make it work?
when i run the testcase below i get
---
D:\ruby\test>ruby test/unit/demo_test.rb
Loaded suite test/unit/demo_test
Started
F
Finished in 0.625 seconds.
1) Failure:
test_set_sub_tree(DemoTest) [test/unit/demo_test.rb:13]:
fails@4.
<200> expected but was
<100>.
1 tests, 4 assertions, 1 failures, 0 errors
---
why does it fail at all? why does it fail@4 but not fail@2 ???
am i using save incorrectly?
what do i need to make it work? what haven''t i read so i...