On Sat, Apr 3, 2010 at 2:15 PM, Nishant <[email protected]> wrote:
> require 'test/unit'
> @ie.text.include?("Forgot your password? ").should == true

If you add this to the top of the file, it should work:

require "spec"

Also, if you run your ruby file like this, there is no need to require spec:

spec my_ruby_file.rb

More info on rspec.info, or ask here.

Željko
--
watir.com - community manager
pledgie.com/campaigns/2982 - donate to Watir
watirpodcast.com - host
testingpodcast.com - audio podcasts on software testing. all of them

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: [email protected]

To unsubscribe, reply using "remove me" as the subject.

Reply via email to