#91 ✓resolved
Kieran P

Startup error when using Webrat::Selenium with Test::Unit

Reported by Kieran P | December 12th, 2008 @ 06:14 PM

There are a few features which have AJAX/JS functionality that needs testing. So I tried the selenium built into webrat but run into the following issue. I keep getting the following

/opt/ruby-enterprise-1.8.6-20081205/lib/ruby/1.8/test/unit/testcase.rb:64:in initialize': wrong number of arguments (1 for 0) (ArgumentError)

That's from a simple require of webrat/selenium, and

def test_homepage_works

visit "/"

end

Any ideas why? Am I doing wrong?

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby Acceptance Testing for Web applications.

Shared Ticket Bins

People watching this ticket

Pages