Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
capybara-mechanize rake spec after upgrading to Mechanize 2.1
⚡ rake
(in /Volumes/data/Users/mikel/Code/capybara-mechanize)
/Users/mikel/.rvm/rubies/ruby-1.9.2-p290/bin/ruby -S bundle exec rspec "spec/driver/mechanize_driver_spec.rb" "spec/driver/remote_mechanize_driver_spec.rb" "spec/session/mechanize_spec.rb" "spec/session/remote_mechanize_spec.rb"
....F.............................FFFF.F.FFFFFFFFFFFFFFFFFFFFFFFFFFFFF...................................................................................................................................................................................................................................................................................................................................................................................................................................................................FFFF
Failures:
1) Capybara::Driver::Mechanize, in local model should include the right host when remote
Failure/Error: @driver.visit("#{REMOTE_TEST_URL}/host")
Received the following error for a GET request to http://localhost/host: '404 => Net::HTTPNotFound'
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# ./spec/driver/mechanize_driver_spec.rb:125:in `block (2 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
2) Capybara::Driver::Mechanize, in local model with a default url, no app host should consider relative paths to be remote when the previous request was remote
Failure/Error: @driver.visit("#{REMOTE_TEST_URL}/host")
Received the following error for a GET request to http://localhost/host: '404 => Net::HTTPNotFound'
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# ./spec/driver/mechanize_driver_spec.rb:85:in `block (3 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
3) Capybara::Driver::Mechanize, in local model with a default url, no app host should always switch to the right context
Failure/Error: @driver.get("#{REMOTE_TEST_URL}/host")
Received the following error for a GET request to http://localhost/host: '404 => Net::HTTPNotFound'
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:75:in `get'
# ./spec/driver/mechanize_driver_spec.rb:95:in `block (3 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
4) Capybara::Driver::Mechanize, in local model with a default url, no app host should follow redirects from local to remote
Failure/Error: @driver.visit("http://www.local.com/redirect_to/#{REMOTE_TEST_URL}/host")
Received the following error for a GET request to http://localhost/host: '404 => Net::HTTPNotFound'
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:43:in `follow_redirect!'
# ./lib/capybara/mechanize/browser.rb:33:in `block in follow_redirects!'
# ./lib/capybara/mechanize/browser.rb:32:in `times'
# ./lib/capybara/mechanize/browser.rb:32:in `follow_redirects!'
# ./lib/capybara/mechanize/browser.rb:49:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# ./spec/driver/mechanize_driver_spec.rb:104:in `block (3 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
5) Capybara::Driver::Mechanize, in local model with a default url, no app host should follow redirects from remote to local
Failure/Error: @driver.visit("#{REMOTE_TEST_URL}/redirect_to/http://www.local.com/host")
Received the following error for a GET request to http://localhost/redirect_to/http://www.local.com/host: '404 => Net::HTTPNotFound'
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# ./spec/driver/mechanize_driver_spec.rb:109:in `block (3 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
6) Capybara::Driver::Mechanize, in local model#reset! should reset remote host
Failure/Error: @driver.visit("#{REMOTE_TEST_URL}/host")
Received the following error for a GET request to http://localhost/host: '404 => Net::HTTPNotFound'
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# ./spec/driver/mechanize_driver_spec.rb:135:in `block (3 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
7) Capybara::Mechanize::Driver in remote mode should pass arguments through to a get request
Failure/Error: @driver.visit("#{REMOTE_TEST_URL}/form/get", {:form => "success"})
Received the following error for a GET request to http://localhost/form/get: '404 => Net::HTTPNotFound'
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# ./spec/driver/remote_mechanize_driver_spec.rb:24:in `block (3 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
8) Capybara::Mechanize::Driver in remote mode should pass arguments through to a post request
Failure/Error: @driver.post("#{REMOTE_TEST_URL}/form", {:form => "success"})
Received the following error for a POST request to http://localhost/form: '404 => Net::HTTPNotFound'
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:101:in `post'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:76:in `post'
# ./spec/driver/remote_mechanize_driver_spec.rb:29:in `block (3 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
9) Capybara::Mechanize::Driver in remote mode for a post request should transform nested map in post data
Failure/Error: @driver.post("#{REMOTE_TEST_URL}/form", {:form => {:key => "value"}})
Received the following error for a POST request to http://localhost/form: '404 => Net::HTTPNotFound'
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:101:in `post'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:76:in `post'
# ./spec/driver/remote_mechanize_driver_spec.rb:36:in `block (4 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
10) Capybara::Mechanize::Driver in remote mode process remote request should transform nested map in post data
Failure/Error: @driver.submit(:post, "#{REMOTE_TEST_URL}/form", {:form => {:key => "value"}})
Received the following error for a POST request to http://localhost/form: '404 => Net::HTTPNotFound'
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:101:in `post'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:27:in `submit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:36:in `submit'
# ./spec/driver/remote_mechanize_driver_spec.rb:45:in `block (4 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
11) Capybara::Mechanize::Driver in remote mode it should behave like driver#visit should move to another page
Failure/Error: @driver.body.should include('Hello world!')
expected "<!DOCTYPE html>\n<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n<meta charset=\"utf-8\">\n<title>Pow is installed</title>\n<style>\n body {\n margin: 0;\n padding: 0;\n background: #e0e0d8;\n line-height: 18px;\n }\n div.page {\n margin: 72px auto;\n margin: 36px auto;\n background: #fff;\n border-radius: 18px;\n -webkit-box-shadow: 0px 2px 7px #999;\n -moz-box-shadow: 0px 2px 7px #999;\n padding: 36px 90px;\n width: 480px;\n position: relative;\n }\n .big div.page {\n width: 720px;\n }\n h1, h2, p, li {\n font-family: Helvetica, sans-serif;\n font-size: 13px;\n }\n h1 {\n line-height: 45px;\n font-size: 36px;\n margin: 0;\n }\n h1:before {\n font-size: 66px;\n line-height: 42px;\n position: absolute;\n right: 576px;\n }\n .big h1:before {\n right: 819px;\n }\n h1.ok {\n color: #060;\n }\n h1.ok:before {\n content: \"✓\";\n color: #090;\n }\n h1.err {\n color: #600;\n }\n h1.err:before {\n content: \"✗\";\n color: #900;\n }\n h2 {\n line-height: 27px;\n font-size: 18px;\n font-weight: normal;\n margin: 0;\n }\n a, pre span {\n color: #776;\n }\n h2, p, pre {\n color: #222;\n }\n pre {\n white-space: pre-wrap;\n font-size: 13px;\n }\n pre, code {\n font-family: Menlo, Monaco, monospace;\n }\n p code {\n font-size: 12px;\n }\n pre.breakout {\n border-top: 1px solid #ddd;\n border-bottom: 1px solid #ddd;\n background: #fafcf4;\n margin-left: -90px;\n margin-right: -90px;\n padding: 8px 0 8px 90px;\n }\n pre.small_text {\n font-size: 10px;\n }\n pre.small_text strong {\n font-size: 13px;\n }\n ul {\n padding: 0;\n }\n li {\n list-style-type: none;\n }\n </style>\n</head>\n<body class=\"\">\n <div class=\"page\">\n \n <h1 class=\"ok\">Pow is installed</h1>\n <h2>You’re running version 0.3.2.</h2>\n <section><p>Set up a Rack application by symlinking it into your <code>~/.pow</code> directory. The name of the symlink determines the hostname you’ll use to access the application.</p>\n <pre><span>$</span> cd ~/.pow\n<span>$</span> ln -s /path/to/myapp\n<span>$</span> open http://myapp.dev/</pre>\n </section><ul>\n<li><a href=\"http://pow.cx/manual\">Pow User’s Manual</a></li>\n <li><a href=\"https://github.com/37signals/pow/wiki/Troubleshooting\">Troubleshooting</a></li>\n <li><a href=\"https://github.com/37signals/pow/wiki/FAQ\">Frequently Asked Questions</a></li>\n <li><a href=\"https://github.com/37signals/pow/issues\">Issue Tracker</a></li>\n </ul>\n</div>\n</body>\n</html>\n" to include "Hello world!"
Shared Example Group: "driver" called from ./spec/driver/remote_mechanize_driver_spec.rb:51
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-expectations-2.0.1/lib/rspec/expectations/fail_with.rb:29:in `fail_with'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-expectations-2.0.1/lib/rspec/expectations/handler.rb:21:in `handle_matcher'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-expectations-2.0.1/lib/rspec/expectations/extensions/kernel.rb:27:in `should'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/spec/driver.rb:8:in `block (3 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
12) Capybara::Mechanize::Driver in remote mode it should behave like driver#visit should show the correct URL
Failure/Error: @driver.visit('/foo')
Received the following error for a GET request to http://localhost/foo: '404 => Net::HTTPNotFound'
Shared Example Group: "driver" called from ./spec/driver/remote_mechanize_driver_spec.rb:51
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/spec/driver.rb:14:in `block (3 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
13) Capybara::Mechanize::Driver in remote mode it should behave like driver#body should return text reponses
Failure/Error: @driver.body.should include('Hello world!')
expected "<!DOCTYPE html>\n<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n<meta charset=\"utf-8\">\n<title>Pow is installed</title>\n<style>\n body {\n margin: 0;\n padding: 0;\n background: #e0e0d8;\n line-height: 18px;\n }\n div.page {\n margin: 72px auto;\n margin: 36px auto;\n background: #fff;\n border-radius: 18px;\n -webkit-box-shadow: 0px 2px 7px #999;\n -moz-box-shadow: 0px 2px 7px #999;\n padding: 36px 90px;\n width: 480px;\n position: relative;\n }\n .big div.page {\n width: 720px;\n }\n h1, h2, p, li {\n font-family: Helvetica, sans-serif;\n font-size: 13px;\n }\n h1 {\n line-height: 45px;\n font-size: 36px;\n margin: 0;\n }\n h1:before {\n font-size: 66px;\n line-height: 42px;\n position: absolute;\n right: 576px;\n }\n .big h1:before {\n right: 819px;\n }\n h1.ok {\n color: #060;\n }\n h1.ok:before {\n content: \"✓\";\n color: #090;\n }\n h1.err {\n color: #600;\n }\n h1.err:before {\n content: \"✗\";\n color: #900;\n }\n h2 {\n line-height: 27px;\n font-size: 18px;\n font-weight: normal;\n margin: 0;\n }\n a, pre span {\n color: #776;\n }\n h2, p, pre {\n color: #222;\n }\n pre {\n white-space: pre-wrap;\n font-size: 13px;\n }\n pre, code {\n font-family: Menlo, Monaco, monospace;\n }\n p code {\n font-size: 12px;\n }\n pre.breakout {\n border-top: 1px solid #ddd;\n border-bottom: 1px solid #ddd;\n background: #fafcf4;\n margin-left: -90px;\n margin-right: -90px;\n padding: 8px 0 8px 90px;\n }\n pre.small_text {\n font-size: 10px;\n }\n pre.small_text strong {\n font-size: 13px;\n }\n ul {\n padding: 0;\n }\n li {\n list-style-type: none;\n }\n </style>\n</head>\n<body class=\"\">\n <div class=\"page\">\n \n <h1 class=\"ok\">Pow is installed</h1>\n <h2>You’re running version 0.3.2.</h2>\n <section><p>Set up a Rack application by symlinking it into your <code>~/.pow</code> directory. The name of the symlink determines the hostname you’ll use to access the application.</p>\n <pre><span>$</span> cd ~/.pow\n<span>$</span> ln -s /path/to/myapp\n<span>$</span> open http://myapp.dev/</pre>\n </section><ul>\n<li><a href=\"http://pow.cx/manual\">Pow User’s Manual</a></li>\n <li><a href=\"https://github.com/37signals/pow/wiki/Troubleshooting\">Troubleshooting</a></li>\n <li><a href=\"https://github.com/37signals/pow/wiki/FAQ\">Frequently Asked Questions</a></li>\n <li><a href=\"https://github.com/37signals/pow/issues\">Issue Tracker</a></li>\n </ul>\n</div>\n</body>\n</html>\n" to include "Hello world!"
Shared Example Group: "driver" called from ./spec/driver/remote_mechanize_driver_spec.rb:51
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-expectations-2.0.1/lib/rspec/expectations/fail_with.rb:29:in `fail_with'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-expectations-2.0.1/lib/rspec/expectations/handler.rb:21:in `handle_matcher'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-expectations-2.0.1/lib/rspec/expectations/extensions/kernel.rb:27:in `should'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/spec/driver.rb:22:in `block (3 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
14) Capybara::Mechanize::Driver in remote mode it should behave like driver#body should return the full response html
Failure/Error: @driver.visit('/with_simple_html')
Received the following error for a GET request to http://localhost/with_simple_html: '404 => Net::HTTPNotFound'
Shared Example Group: "driver" called from ./spec/driver/remote_mechanize_driver_spec.rb:51
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/spec/driver.rb:26:in `block (3 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
15) Capybara::Mechanize::Driver in remote mode it should behave like driver#body encoding of response between ascii and utf8 should be valid with html entities
Failure/Error: @driver.visit('/with_html_entities')
Received the following error for a GET request to http://localhost/with_html_entities: '404 => Net::HTTPNotFound'
Shared Example Group: "driver" called from ./spec/driver/remote_mechanize_driver_spec.rb:51
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/spec/driver.rb:33:in `block (4 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
16) Capybara::Mechanize::Driver in remote mode it should behave like driver#body encoding of response between ascii and utf8 should be valid without html entities
Failure/Error: @driver.visit('/with_html')
Received the following error for a GET request to http://localhost/with_html: '404 => Net::HTTPNotFound'
Shared Example Group: "driver" called from ./spec/driver/remote_mechanize_driver_spec.rb:51
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/spec/driver.rb:38:in `block (4 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
17) Capybara::Mechanize::Driver in remote mode it should behave like driver#find with xpath selector should extract node texts
Failure/Error: @driver.visit('/with_html')
Received the following error for a GET request to http://localhost/with_html: '404 => Net::HTTPNotFound'
Shared Example Group: "driver" called from ./spec/driver/remote_mechanize_driver_spec.rb:51
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/spec/driver.rb:48:in `block (4 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:29:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:29:in `run_in'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `block in run_all'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `run_all'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:106:in `run_hook'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `block in eval_before_eachs'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `eval_before_eachs'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:121:in `run_before_each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:46:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
18) Capybara::Mechanize::Driver in remote mode it should behave like driver#find with xpath selector should extract node attributes
Failure/Error: @driver.visit('/with_html')
Received the following error for a GET request to http://localhost/with_html: '404 => Net::HTTPNotFound'
Shared Example Group: "driver" called from ./spec/driver/remote_mechanize_driver_spec.rb:51
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/spec/driver.rb:48:in `block (4 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:29:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:29:in `run_in'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `block in run_all'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `run_all'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:106:in `run_hook'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `block in eval_before_eachs'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `eval_before_eachs'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:121:in `run_before_each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:46:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
19) Capybara::Mechanize::Driver in remote mode it should behave like driver#find with xpath selector should extract boolean node attributes
Failure/Error: @driver.visit('/with_html')
Received the following error for a GET request to http://localhost/with_html: '404 => Net::HTTPNotFound'
Shared Example Group: "driver" called from ./spec/driver/remote_mechanize_driver_spec.rb:51
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/spec/driver.rb:48:in `block (4 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:29:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:29:in `run_in'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `block in run_all'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `run_all'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:106:in `run_hook'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `block in eval_before_eachs'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `eval_before_eachs'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:121:in `run_before_each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:46:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
20) Capybara::Mechanize::Driver in remote mode it should behave like driver#find with xpath selector should allow retrieval of the value
Failure/Error: @driver.visit('/with_html')
Received the following error for a GET request to http://localhost/with_html: '404 => Net::HTTPNotFound'
Shared Example Group: "driver" called from ./spec/driver/remote_mechanize_driver_spec.rb:51
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/spec/driver.rb:48:in `block (4 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:29:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:29:in `run_in'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `block in run_all'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `run_all'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:106:in `run_hook'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `block in eval_before_eachs'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `eval_before_eachs'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:121:in `run_before_each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:46:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
21) Capybara::Mechanize::Driver in remote mode it should behave like driver#find with xpath selector should allow assignment of field value
Failure/Error: @driver.visit('/with_html')
Received the following error for a GET request to http://localhost/with_html: '404 => Net::HTTPNotFound'
Shared Example Group: "driver" called from ./spec/driver/remote_mechanize_driver_spec.rb:51
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/spec/driver.rb:48:in `block (4 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:29:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:29:in `run_in'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `block in run_all'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `run_all'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:106:in `run_hook'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `block in eval_before_eachs'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `eval_before_eachs'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:121:in `run_before_each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:46:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
22) Capybara::Mechanize::Driver in remote mode it should behave like driver#find with xpath selector should extract node tag name
Failure/Error: @driver.visit('/with_html')
Received the following error for a GET request to http://localhost/with_html: '404 => Net::HTTPNotFound'
Shared Example Group: "driver" called from ./spec/driver/remote_mechanize_driver_spec.rb:51
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/spec/driver.rb:48:in `block (4 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:29:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:29:in `run_in'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `block in run_all'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `run_all'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:106:in `run_hook'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `block in eval_before_eachs'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `eval_before_eachs'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:121:in `run_before_each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:46:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
23) Capybara::Mechanize::Driver in remote mode it should behave like driver#find with xpath selector should extract node visibility
Failure/Error: @driver.visit('/with_html')
Received the following error for a GET request to http://localhost/with_html: '404 => Net::HTTPNotFound'
Shared Example Group: "driver" called from ./spec/driver/remote_mechanize_driver_spec.rb:51
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/spec/driver.rb:48:in `block (4 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:29:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:29:in `run_in'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `block in run_all'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `run_all'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:106:in `run_hook'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `block in eval_before_eachs'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `eval_before_eachs'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:121:in `run_before_each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:46:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
24) Capybara::Mechanize::Driver in remote mode it should behave like driver#find with xpath selector should extract node checked state
Failure/Error: @driver.visit('/with_html')
Received the following error for a GET request to http://localhost/with_html: '404 => Net::HTTPNotFound'
Shared Example Group: "driver" called from ./spec/driver/remote_mechanize_driver_spec.rb:51
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/spec/driver.rb:48:in `block (4 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:29:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:29:in `run_in'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `block in run_all'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `run_all'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:106:in `run_hook'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `block in eval_before_eachs'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `eval_before_eachs'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:121:in `run_before_each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:46:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
25) Capybara::Mechanize::Driver in remote mode it should behave like driver#find with xpath selector should extract node selected state
Failure/Error: @driver.visit('/with_html')
Received the following error for a GET request to http://localhost/with_html: '404 => Net::HTTPNotFound'
Shared Example Group: "driver" called from ./spec/driver/remote_mechanize_driver_spec.rb:51
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/spec/driver.rb:48:in `block (4 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:29:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:29:in `run_in'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `block in run_all'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `run_all'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:106:in `run_hook'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `block in eval_before_eachs'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `eval_before_eachs'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:121:in `run_before_each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:46:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
26) Capybara::Mechanize::Driver in remote mode it should behave like driver#find with xpath selector should return document text on /html selector
Failure/Error: @driver.visit('/with_html')
Received the following error for a GET request to http://localhost/with_html: '404 => Net::HTTPNotFound'
Shared Example Group: "driver" called from ./spec/driver/remote_mechanize_driver_spec.rb:51
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/spec/driver.rb:48:in `block (4 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:29:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:29:in `run_in'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `block in run_all'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `run_all'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:106:in `run_hook'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `block in eval_before_eachs'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `eval_before_eachs'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:121:in `run_before_each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:46:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
27) Capybara::Mechanize::Driver in remote mode it should behave like driver with header support should make headers available through response_headers
Failure/Error: @driver.visit('/with_simple_html')
Received the following error for a GET request to http://localhost/with_simple_html: '404 => Net::HTTPNotFound'
Shared Example Group: "driver with header support" called from ./spec/driver/remote_mechanize_driver_spec.rb:52
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/spec/driver.rb:174:in `block (2 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
28) Capybara::Mechanize::Driver in remote mode it should behave like driver with status code support should make the status code available through status_code
Failure/Error: @driver.visit('/with_simple_html')
Received the following error for a GET request to http://localhost/with_simple_html: '404 => Net::HTTPNotFound'
Shared Example Group: "driver with status code support" called from ./spec/driver/remote_mechanize_driver_spec.rb:53
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/spec/driver.rb:181:in `block (2 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
29) Capybara::Mechanize::Driver in remote mode it should behave like driver with cookies support#reset! should set and clean cookies
Failure/Error: @driver.visit('/get_cookie')
Received the following error for a GET request to http://localhost/get_cookie: '404 => Net::HTTPNotFound'
Shared Example Group: "driver with cookies support" called from ./spec/driver/remote_mechanize_driver_spec.rb:54
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/spec/driver.rb:270:in `block (3 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
30) Capybara::Mechanize::Driver in remote mode it should behave like driver with infinite redirect detection should follow 5 redirects
Failure/Error: @driver.visit('/redirect/5/times')
Received the following error for a GET request to http://localhost/redirect/5/times: '404 => Net::HTTPNotFound'
Shared Example Group: "driver with infinite redirect detection" called from ./spec/driver/remote_mechanize_driver_spec.rb:55
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/spec/driver.rb:288:in `block (2 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
31) Capybara::Mechanize::Driver in remote mode it should behave like driver with infinite redirect detection should not follow more than 5 redirects
Failure/Error: running do
expected Capybara::InfiniteRedirectError, got #<RuntimeError: Received the following error for a GET request to http://localhost/redirect/6/times: '404 => Net::HTTPNotFound'>
Shared Example Group: "driver with infinite redirect detection" called from ./spec/driver/remote_mechanize_driver_spec.rb:55
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-expectations-2.0.1/lib/rspec/expectations/fail_with.rb:29:in `fail_with'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-expectations-2.0.1/lib/rspec/expectations/handler.rb:21:in `handle_matcher'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-expectations-2.0.1/lib/rspec/expectations/extensions/kernel.rb:27:in `should'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/spec/driver.rb:293:in `block (2 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
32) Capybara::Session with mechanize driver should use the last remote url when following relative links
Failure/Error: @session.visit("#{REMOTE_TEST_URL}/relative_link_to_host")
Received the following error for a GET request to http://localhost/relative_link_to_host: '404 => Net::HTTPNotFound'
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/session.rb:157:in `visit'
# ./spec/session/mechanize_spec.rb:32:in `block (3 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
33) Capybara::Session with mechanize driver should use the last remote url when submitting a form with a relative action
Failure/Error: @session.visit("#{REMOTE_TEST_URL}/form_with_relative_action_to_host")
Received the following error for a GET request to http://localhost/form_with_relative_action_to_host: '404 => Net::HTTPNotFound'
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/session.rb:157:in `visit'
# ./spec/session/mechanize_spec.rb:38:in `block (3 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
34) Capybara::Session with mechanize driver should use the last url when submitting a form with no action
Failure/Error: @session.visit("#{REMOTE_TEST_URL}/request_info/form_with_no_action")
Received the following error for a GET request to http://localhost/request_info/form_with_no_action: '404 => Net::HTTPNotFound'
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/session.rb:157:in `visit'
# ./spec/session/mechanize_spec.rb:44:in `block (3 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
35) Capybara::Session with mechanize driver should send correct user agent
Failure/Error: @session.visit("#{REMOTE_TEST_URL}/request_info/user_agent")
Received the following error for a GET request to http://localhost/request_info/user_agent: '404 => Net::HTTPNotFound'
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/session.rb:157:in `visit'
# ./spec/session/mechanize_spec.rb:50:in `block (3 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
36) Capybara::Session with remote mechanize driver#click_link should use data-method if available
Failure/Error: @session.visit "/with_html"
Received the following error for a GET request to http://localhost/with_html: '404 => Net::HTTPNotFound'
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/session.rb:157:in `visit'
# ./spec/session/remote_mechanize_spec.rb:33:in `block (4 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
37) Capybara::Session with remote mechanize driver it should behave like session without javascript support#evaluate_script should raise an error
Failure/Error: before{ @session.visit('/with_simple_html') }
Received the following error for a GET request to http://localhost/with_simple_html: '404 => Net::HTTPNotFound'
Shared Example Group: "session without javascript support" called from ./spec/session/remote_mechanize_spec.rb:42
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/session.rb:157:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/spec/session/javascript.rb:282:in `block (3 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:29:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:29:in `run_in'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `block in run_all'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:60:in `run_all'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:106:in `run_hook'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `block in eval_before_eachs'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:188:in `eval_before_eachs'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:121:in `run_before_each'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:46:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
38) Capybara::Session with remote mechanize driver it should behave like session with headers support#response_headers should return response headers
Failure/Error: @session.visit('/with_simple_html')
Received the following error for a GET request to http://localhost/with_simple_html: '404 => Net::HTTPNotFound'
Shared Example Group: "session with headers support" called from ./spec/session/remote_mechanize_spec.rb:43
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/session.rb:157:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/spec/session/headers.rb:4:in `block (3 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
39) Capybara::Session with remote mechanize driver it should behave like session with status code support#status_code should return response codes
Failure/Error: @session.visit('/with_simple_html')
Received the following error for a GET request to http://localhost/with_simple_html: '404 => Net::HTTPNotFound'
Shared Example Group: "session with status code support" called from ./spec/session/remote_mechanize_spec.rb:44
# ./lib/capybara/mechanize/browser.rb:182:in `rescue in process_remote_request'
# ./lib/capybara/mechanize/browser.rb:176:in `process_remote_request'
# ./lib/capybara/mechanize/browser.rb:56:in `process_without_redirect'
# ./lib/capybara/mechanize/browser.rb:96:in `get'
# ./lib/capybara/mechanize/browser.rb:48:in `process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/browser.rb:21:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/rack_test/driver.rb:32:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/session.rb:157:in `visit'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/capybara-1.1.2/lib/capybara/spec/session/response_code.rb:4:in `block (3 levels) in <top (required)>'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
# /Users/mikel/.rvm/gems/ruby-1.9.2-p290@capybara-mechanize/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
Finished in 87.94 seconds
525 examples, 39 failures
rake aborted!
ruby -S bundle exec rspec "spec/driver/mechanize_driver_spec.rb" "spec/driver/remote_mechanize_driver_spec.rb" "spec/session/mechanize_spec.rb" "spec/session/remote_mechanize_spec.rb" failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment