
select conflicts with Kernel#select
Reported by Matt Lins | November 25th, 2008 @ 09:43 AM
I'm using webrat in plain old rails integration tests. In edge
webrat selects
is deprecated. I tried to use
select
but I get:
TypeError: wrong argument type String (expected Array)
I'm using Rails 2.2.2 and ruby 1.8.7p72 on OSX 10.5.5
Comments and changes to this ticket
-
Bryan Helmkamp November 25th, 2008 @ 05:51 PM
- State changed from new to out-of-date
This should be fixed in the latest Webrat. If you have any problems with that, please reopen.
Thanks,
-Bryan
-
Bryan Helmkamp November 25th, 2008 @ 07:36 PM
- State changed from out-of-date to open
Actually, I was wrong. This is still a problem. Working on it now.
-
Bryan Helmkamp November 28th, 2008 @ 02:30 PM
- State changed from open to resolved
I've improved the way Webrat integrates with Rails so that it doesn't use method_missing, and thus resolves this issue. Please let me know if you run into any further trouble.
Cheers,
-Bryan
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.
People watching this ticket
Referenced by
-
74 select calls to Kernel#select in ActionController::IntegrationTest This is a duplicate of #72 and is resolved in the latest ...