Displaying 1 result from an estimated 1 matches for "bartest".
Did you mean:
barest
2006 Mar 07
3
STI and unit testing
...simplified my
models to try and get my head round it but I''m still struggling. I''m using
STI and trying to write tests for the extended models (code below). I''ve
written test cases for the extended models which themselves extend the test
case for the parent model, so BarTest extends FooTest which extends TestCase
when I run ''bar_test.rb'' it seems to run the test case twice, once for
FooTest and once for BarTest, even though the only file I''m running is
bar_test.rb - here''s the output:
C:\WINDOWS\system32\cmd.exe /c ruby bar_test....