Forum: RSpec does jruby rspec have to use selenium?

Posted by S Ahmed (Guest)
on 2012-01-17 04:09
(Received via mailing list)
With jruby and rspec requests, do you have to use selenium webdriver?

I'm confused, with ruby and rubyonrails using cucumber with capybara, I
didn't have to set the default driver, what was it using and can i use 
that
with jruby?  Things just worked w/o me even having to know about it :)
Posted by Justin Ko (Guest)
on 2012-01-17 06:02
(Received via mailing list)
On Jan 16, 2012, at 7:35 PM, S Ahmed wrote:

> With jruby and rspec requests, do you have to use selenium webdriver?
>
> I'm confused, with ruby and rubyonrails using cucumber with capybara, I didn't 
have to set the default driver, what was it using and can i use that with jruby? 
Things just worked w/o me even having to know about it :)
> _______________________________________________
> rspec-users mailing list
> rspec-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

They capybara build is passing with jRuby:
http://travis-ci.org/#!/jnicklas/capybara/jobs/512756

Just check out the README to get it setup with RSpec - it's all there.
Posted by S Ahmed (Guest)
on 2012-01-17 07:23
(Received via mailing list)
I'm using jruby and with a java app, so after reading it is clear I can
only use selenium since it is not a rack app.

selenium is very very slow, sheesh!  I was hoping there was a better 
way.

It keeps the firefox browser open also, which is strange (after it
completes running).
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.