
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
-
Bryan Helmkamp December 27th, 2008 @ 03:11 PM
- Title changed from Selenium Testing Issues to Startup error when using Webrat::Selenium with Test::Unit
-
Bryan Helmkamp December 27th, 2008 @ 03:12 PM
I believe I've got this tracked down. I'm verifying the fix now and should be able to push it soon if all goes well.
Thanks,
-Bryan
-
Bryan Helmkamp January 4th, 2009 @ 10:19 PM
- State changed from new to resolved
Fixed in http://github.com/brynary/webrat...
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.
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.