> > The very first test I thought up was "this method should return an
> > integer" so kind of a basic test for a not yet existent method.
>
> Isn't this a bit anti-ruby though. Surely the things we should be testing is
> that the object exists, responds to certain messages and gives certain
> values back for those messages. Thinking about types is so Java, C++ :-)

Yeah, though it's a bit hard when it's supposed to return the pid of
some external process :)

-r
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to