On 30/05/07, Bret Pettichord <[EMAIL PROTECTED]> wrote:
> aidy lewis wrote:
> > #Is it possible to instantiate a class that inherits from Test::Unit
> >
> Yes it is. Why do you ask? Did you try this and run into trouble? What
> kind of trouble?

Hi Bret,

If I write this

<code>
require 'test\unit'

class Login < Test::Unit::TestCase

end

login = Login.new
</code>

I receive

'in `initialize': wrong number of arguments (0 for 1) (ArgumentError)'

Cheers

Aidy
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to