Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capybara 1.0 compatibility #75

Open
rb2k opened this issue Jul 29, 2011 · 2 comments
Open

Capybara 1.0 compatibility #75

rb2k opened this issue Jul 29, 2011 · 2 comments

Comments

@rb2k
Copy link

rb2k commented Jul 29, 2011

It would be nice to be able to switch over to 1.0

@schneems
Copy link

+1, i'm interested if anyone has done any work on this, i made the attempt but got a few jruby exceptions and couldn't dig deeper.

#<NativeException: com.gargoylesoftware.htmlunit.ScriptException: Index: 0, Size: 0>
["(druby://127.0.0.1:59979) /Users/me/.rvm/gems/ree-1.8.7-2011.03@proj/bundler/gems/akephalos-03251d77332e/lib/akephalos/client.rb:79:in `visit'",
 "(druby://127.0.0.1:59979) org/jruby/RubyKernel.java:2096:in `send'",
 "(druby://127.0.0.1:59979) file:/Users/me/.rvm/gems/ree-1.8.7-2011.03@proj/gems/jruby-jars-1.6.4/lib/jruby-stdlib-1.6.4.jar!/META-INF/jruby.home/lib/ruby/1.8/drb/drb.rb:1593:in `perform_without_block'",
 "(druby://127.0.0.1:59979) file:/Users/me/.rvm/gems/ree-1.8.7-2011.03@proj/gems/jruby-jars-1.6.4/lib/jruby-stdlib-1.6.4.jar!/META-INF/jruby.home/lib/ruby/1.8/drb/drb.rb:1553:in `perform'",
 "(druby://127.0.0.1:59979) file:/Users/me/.rvm/gems/ree-1.8.7-2011.03@proj/gems/jruby-jars-1.6.4/lib/jruby-stdlib-1.6.4.jar!/META-INF/jruby.home/lib/ruby/1.8/drb/drb.rb:1627:in `main_loop'",
 "(druby://127.0.0.1:59979) org/jruby/RubyKernel.java:1419:in `loop'",
 "(druby://127.0.0.1:59979) file:/Users/me/.rvm/gems/ree-1.8.7-2011.03@proj/gems/jruby-jars-1.6.4/lib/jruby-stdlib-1.6.4.jar!/META-INF/jruby.home/lib/ruby/1.8/drb/drb.rb:1623:in `main_loop'",
 "(druby://127.0.0.1:59979) org/jruby/RubyProc.java:274:in `call'",
 "(druby://127.0.0.1:59979) org/jruby/RubyProc.java:233:in `call'",
 "/Users/me/.rvm/gems/ree-1.8.7-2011.03@proj/bundler/gems/akephalos-03251d77332e/lib/akephalos/capybara.rb:206:in `visit'",
 "/Users/me/.rvm/gems/ree-1.8.7-2011.03@proj/gems/capybara-1.0.1/lib/capybara/session.rb:157:in `visit'",
 "/Users/me/.rvm/gems/ree-1.8.7-2011.03@proj/gems/capybara-1.0.1/lib/capybara/dsl.rb:139:in `visit'",
 "/Users/me/Documents/projects/proj-rails/spec/acceptance/web/foo_spec.rb:36",

All tests for akephalos pass but 4: https://gist.github.com/1182175

If you want to play around with the (very minimal changes) you can add this to your gem file

  gem 'akephalos',
    :git => 'git@github.com:Schneems/akephalos.git',
    :branch => 'feature/capybara-1.x'

@rb2k
Copy link
Author

rb2k commented Oct 3, 2011

https://github.com/Nerian/akephalos2 did some work on it, using it myself atm. Works fine :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants