no, that didn't work, but i found that i may be due to garbage collector taking place before test starts, so the solution was to add a set called instances and then in the initialize method put the following code line "instances << self", this way my instances had a root, preventing the garbage collector from trashing my class instances.
-- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users