Hi, I try run test in Eclipse with Radrails plugin. This is my code -

require 'test/unit'
require 'watir'

class Test1 < Test::Unit::TestCase
  def test_there_should_be_text_About_Google
    browser = Watir::IE.start "http://www.google.com"
    assert(browser.text.include?("About Google"))
  end
end

require 'test/unit'
require 'watir'

class GoogleHomePage < Test::Unit::TestCase
  def test_there_should_be_watir
    ie = Watir::IE.new
    ie.goto("http://www.google.com")
    ie.text_field(:name, "q").set "watir"
    ie.button(:name, "btnG").click
    ie.link(:href, "http://watir.com/").click
    assert(ie.text.include?("Why Watir?"))
  end
end

I get error :
E:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require': cannot load such file -- test1 (LoadError)
  from
E:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
  from
E:/eclipse/.metadata/.plugins/org.rubypeople.rdt.testunit/ruby/RemoteTestRunner.rb:301:in
`<main>'
How to deal with it?

-- 
Posted via http://www.ruby-forum.com/.