Skip to content

Instantly share code, notes, and snippets.

@george
Created May 10, 2012 19:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save george/2655487 to your computer and use it in GitHub Desktop.
Save george/2655487 to your computer and use it in GitHub Desktop.
ruby -I"lib:test" -v -w -W test/acceptance/app_test.rb master*
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.3.0]
test/acceptance/app_test.rb:12: warning: assigned but unused variable - port
/Users/george/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/rubygems/psych_tree.rb:31: warning: method redefined; discarding old visit_String
/Users/george/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/rubygems/psych_tree.rb:4: warning: previous definition of visit_String was here
/Users/george/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/rubygems/psych_tree.rb:39: warning: method redefined; discarding old register
/Users/george/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/rubygems/psych_tree.rb:12: warning: previous definition of register was here
/Users/george/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/rubygems/psych_tree.rb:43: warning: method redefined; discarding old format_time
/Users/george/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/rubygems/psych_tree.rb:16: warning: previous definition of format_time was here
/Users/george/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/rubygems/syck_hack.rb:115: warning: method redefined; discarding old to_s
/Users/george/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/rubygems/syck_hack.rb:44: warning: previous definition of to_s was here
/Users/george/work/open_source_contributions/focused_controller/lib/focused_controller/route_mapper.rb:40: warning: assigned but unused variable - prev
/Users/george/.rvm/gems/ruby-1.9.3-p194@focused_controller/gems/xpath-0.1.4/lib/xpath.rb:59: warning: shadowing outer local variable - selector
/Users/george/.rvm/gems/ruby-1.9.3-p194@focused_controller/gems/capybara_minitest_spec-0.2.1.1/lib/capybara_minitest_spec/matcher.rb:100: warning: ambiguous first argument; put parentheses or even spaces
/Users/george/.rvm/gems/ruby-1.9.3-p194@focused_controller/gems/capybara_minitest_spec-0.2.1.1/lib/capybara_minitest_spec/matcher.rb:104: warning: ambiguous first argument; put parentheses or even spaces
Run options: --seed 58477
# Running tests:
/Users/george/.rvm/gems/ruby-1.9.3-p194@focused_controller/gems/poltergeist-0.6.0/lib/capybara/poltergeist/driver.rb:19: warning: method redefined; discarding old browser
/Users/george/.rvm/gems/ruby-1.9.3-p194@focused_controller/gems/poltergeist-0.6.0/lib/capybara/poltergeist/driver.rb:27: warning: method redefined; discarding old server
/Users/george/.rvm/gems/ruby-1.9.3-p194@focused_controller/gems/poltergeist-0.6.0/lib/capybara/poltergeist/driver.rb:31: warning: method redefined; discarding old client
/Users/george/.rvm/gems/ruby-1.9.3-p194@focused_controller/gems/poltergeist-0.6.0/lib/capybara/poltergeist/client.rb:65: warning: instance variable @phantomjs_version_checked not initialized
^CE
Finished tests in 80.440479s, 0.0124 tests/s, 0.0124 assertions/s.
1) Error:
test_0001_does_basic_crud_actions_successfully(acceptance test):
Errno::ENOENT: No such file or directory - phantomjs --version
/Users/george/.rvm/gems/ruby-1.9.3-p194@focused_controller/gems/poltergeist-0.6.0/lib/capybara/poltergeist/client.rb:67:in ``'
/Users/george/.rvm/gems/ruby-1.9.3-p194@focused_controller/gems/poltergeist-0.6.0/lib/capybara/poltergeist/client.rb:67:in `check_phantomjs_version'
/Users/george/.rvm/gems/ruby-1.9.3-p194@focused_controller/gems/poltergeist-0.6.0/lib/capybara/poltergeist/client.rb:25:in `start'
/Users/george/.rvm/gems/ruby-1.9.3-p194@focused_controller/gems/poltergeist-0.6.0/lib/capybara/poltergeist/client.rb:9:in `start'
/Users/george/.rvm/gems/ruby-1.9.3-p194@focused_controller/gems/poltergeist-0.6.0/lib/capybara/poltergeist/driver.rb:32:in `client'
/Users/george/.rvm/gems/ruby-1.9.3-p194@focused_controller/gems/poltergeist-0.6.0/lib/capybara/poltergeist/driver.rb:20:in `browser'
/Users/george/.rvm/gems/ruby-1.9.3-p194@focused_controller/gems/poltergeist-0.6.0/lib/capybara/poltergeist/driver.rb:62:in `visit'
/Users/george/.rvm/gems/ruby-1.9.3-p194@focused_controller/gems/capybara-1.1.2/lib/capybara/session.rb:157:in `visit'
test/acceptance/app_test.rb:104:in `block (3 levels) in <main>'
test/acceptance/app_test.rb:89:in `block (2 levels) in start_server'
test/acceptance/app_test.rb:69:in `popen'
test/acceptance/app_test.rb:69:in `block in start_server'
test/acceptance/app_test.rb:35:in `block (2 levels) in within_test_app'
test/acceptance/app_test.rb:30:in `chdir'
test/acceptance/app_test.rb:30:in `block in within_test_app'
/Users/george/.rvm/gems/ruby-1.9.3-p194@focused_controller/gems/bundler-1.1.3/lib/bundler.rb:200:in `block in with_clean_env'
/Users/george/.rvm/gems/ruby-1.9.3-p194@focused_controller/gems/bundler-1.1.3/lib/bundler.rb:188:in `with_original_env'
/Users/george/.rvm/gems/ruby-1.9.3-p194@focused_controller/gems/bundler-1.1.3/lib/bundler.rb:194:in `with_clean_env'
test/acceptance/app_test.rb:29:in `within_test_app'
test/acceptance/app_test.rb:68:in `start_server'
test/acceptance/app_test.rb:103:in `block (2 levels) in <main>'
1 tests, 1 assertions, 0 failures, 1 errors, 0 skips
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment