Hi Zeljko Filipin,

It's working fine.

Thank you,
Jayashree.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Zeljko Filipin
Sent: Tuesday, February 07, 2006 1:45 PM
To: [email protected]
Subject: Re: [Wtr-general] assert_equal problem in the module


require 'test/unit/assertions'
include Test::Unit::Assertions

2006/2/7, jayashree <[EMAIL PROTECTED]>:
> Hi,
> I am new to watir and ruby.
> There are two ruby files.In the main ruby file I am using
assert_equal.It's
> working fine.There is another ruby file which contains module.I want to
> write all the assert_equal statements in the module.
> At the top of the module, I am using - $LOAD_PATH.<<
> File.join(File.dirname(__FILE__), '') if $0 == __FILE__.
>
> If I use assert_equal in the module file, I am getting error: undefined
> method : assert_equal.
>
> What is the require statements for this.
>
> Thanks,
> Jayashree.
>
> Disclaimer:
>
> This e-mail, and any files transmitted with it are confidential to Marlabs
Inc. and intended solely for the use of the individual or entity to whom it
is addressed. If you are not the intended recipient you are notified that
disclosing, copying, distributing or taking any action in reliance on the
contents of this information is strictly prohibited.
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
>


--
http://iskusivac.blog.hr/

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Disclaimer:

This e-mail, and any files transmitted with it are confidential to Marlabs Inc. 
and intended solely for the use of the individual or entity to whom it is 
addressed. If you are not the intended recipient you are notified that 
disclosing, copying, distributing or taking any action in reliance on the 
contents of this information is strictly prohibited.
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to