Created
October 18, 2011 06:48
-
-
Save h4ck3rm1k3/1294771 to your computer and use it in GitHub Desktop.
vanna build on my computer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rvm use ruby-1.9.2-p290 | |
Using /home/mdupont/.rvm/gems/ruby-1.9.2-p290 | |
rvm do bundle install | |
.... | |
mdupont@space-station:~/experiments/diaspora_deps/vanna_orig$ rvm do rake 2>&1 | tee original.txt | |
ruby test/basic_test.rb | |
/home/mdupont/.rvm/gems/ruby-1.9.2-p290/gems/turn-0.8.3/lib/turn/autorun/minitest.rb:14:in `<top (required)>': MiniTest v1.6.0 is out of date. (RuntimeError) | |
`gem install minitest` and add `gem 'minitest' to you test helper. | |
from /home/mdupont/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require' | |
from /home/mdupont/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require' | |
from /home/mdupont/.rvm/gems/ruby-1.9.2-p290/gems/turn-0.8.3/lib/turn.rb:13:in `<top (required)>' | |
from /home/mdupont/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `require' | |
from /home/mdupont/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require' | |
from /home/mdupont/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require' | |
from /home/mdupont/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/test_help.rb:19:in `<top (required)>' | |
from /home/mdupont/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require' | |
from /home/mdupont/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require' | |
from /home/mdupont/experiments/diaspora_deps/vanna_orig/test/test_helper.rb:5:in `<top (required)>' | |
from <internal:lib/rubygems/custom_require>:29:in `require' | |
from <internal:lib/rubygems/custom_require>:29:in `require' | |
from test/basic_test.rb:1:in `<main>' | |
rake aborted! | |
Command failed with status (1): [ruby test/basic_test.rb...] | |
Tasks: TOP => default => test | |
(See full trace by running task with --trace) | |
ruby test/basic_test.rb | |
/home/mdupont/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- action_controller/railtie (LoadError) | |
from /home/mdupont/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
from /home/mdupont/experiments/diaspora_deps/vanna_orig/test/config/application.rb:15:in `<top (required)>' | |
from /home/mdupont/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
from /home/mdupont/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
from /home/mdupont/experiments/diaspora_deps/vanna_orig/test/test_helper.rb:4:in `<top (required)>' | |
from /home/mdupont/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
from /home/mdupont/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
from test/basic_test.rb:1:in `<main>' | |
rake aborted! | |
Command failed with status (1): [ruby test/basic_test.rb...] | |
Tasks: TOP => default => test | |
(See full trace by running task with --trace) | |
ruby test/basic_test.rb | |
You are using an outdated version of Test::Unit. | |
Make sure to use Bundler or Rubygems to load the test-unit gem. For example: | |
require 'rubygems' | |
gem 'test-unit' | |
require 'test/unit' | |
require 'wrong/adapters/test_unit' | |
rake aborted! | |
Command failed with status (1): [ruby test/basic_test.rb...] | |
Tasks: TOP => default => test | |
(See full trace by running task with --trace) | |
mdupont@space-station:~/experiments/diaspora_deps/vanna_orig$ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mdupont@space-station:~/experiments/diaspora_deps/vanna$ rvm do rake | |
ruby test/basic_test.rb | |
Loaded suite test/basic_test | |
Started | |
.. | |
Finished in 4.360885443 seconds. | |
2 tests, 2 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications | |
100% passed | |
0.46 tests/s, 0.46 assertions/s | |
ruby test/personas_test.rb | |
Loaded suite test/personas_test | |
Started | |
............. | |
Finished in 4.030970475 seconds. | |
13 tests, 17 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications | |
100% passed | |
3.23 tests/s, 4.22 assertions/s | |
ruby test/weapons_test.rb | |
Loaded suite test/weapons_test | |
Started | |
F | |
Failure: | |
test_creation(WaponsTest) [test/weapons_test.rb:17]: | |
Expected (last_response.status == 201), but | |
last_response.status is 500 | |
last_response is #<Rack::MockResponse:0xacdddb8 | |
@block=nil, | |
@body= | |
["<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"utf-8\" />\n <title>Action Controller | |
: Exception caught</title>\n <style>\n body { background-color: #fff; color: #333; }\n\n body, p, ol, ul, td {\n f | |
ont-family: helvetica, verdana, arial, sans-serif;\n font-size: 13px;\n line-height: 18px;\n }\n\n pre {\n | |
background-color: #eee;\n padding: 10px;\n font-size: 11px;\n }\n\n a { color: #000; }\n a:visited { co | |
lor: #666; }\n a:hover { color: #fff; background-color:#000; }\n </style>\n</head>\n<body>\n\n<h1>\n SystemStackError\n | |
in WeaponsController#create\n</h1>\n<pre>stack level too deep</pre>\n\n\n<p><code>Rails.root: /home/mdupont/experiments/dias | |
pora_deps/vanna</code></p>\n\n<div id=\"traces\">\n <a href=\"#\" onclick=\"document.getElementById('Framework-Trace').styl | |
e.display='none';document.getElementById('Full-Trace').style.display='none';document.getElementById('Application-Trace').style | |
.display='block';; return false;\">Application Trace</a> |\n <a href=\"#\" onclick=\"document.getElementById('Application-T | |
race').style.display='none';document.getElementById('Full-Trace').style.display='none';document.getElementById('Framework-Trac | |
e').style.display='block';; return false;\">Framework Trace</a> |\n <a href=\"#\" onclick=\"document.getElementById('Applic | |
ation-Trace').style.display='none';document.getElementById('Framework-Trace').style.display='none';document.getElementById('Fu | |
ll-Trace').style.display='block';; return false;\">Full Trace</a> \n\n <div id=\"Application-Trace\" style=\"display: block | |
;\">\n <pre><code></code></pre>\n </div>\n <div id=\"Framework-Trace\" style=\"display: none;\">\n <pre><code> | |
actionpack (3.1.1) lib/action_dispatch/middleware/reloader.rb:73</code></pre>\n </div>\n <div id=\"Full-Trace\" style=\" | |
display: none;\">\n <pre><code>actionpack (3.1.1) lib/action_dispatch/middleware/reloader.rb:73</code></pre>\n </div>\ | |
n</div>\n\n\n\n<h2 style=\"margin-top: 30px\">Request</h2>\n<p><b>Parameters</b>: <pre>{"power"=>"10",\ | |
n "punch"=>"32"}</pre></p>\n\n<p><a href=\"#\" onclick=\"document.getElementById('session_dump').style. | |
display='block'; return false;\">Show session dump</a></p>\n<div id=\"session_dump\" style=\"display:none\"><pre></pre></div>\ | |
n\n<p><a href=\"#\" onclick=\"document.getElementById('env_dump').style.display='block'; return false;\">Show env dump</a></p> | |
\n<div id=\"env_dump\" style=\"display:none\"><pre>HTTP_ACCEPT: "application/json"\nREMOTE_ADDR: "127.0.0.1&quo | |
t;\nSERVER_NAME: "example.org"</pre></div>\n\n\n<h2 style=\"margin-top: 30px\">Response</h2>\n<p><b>Headers</b>: <pr | |
e>None</pre></p>\n\n\n\n</body>\n</html>\n"], | |
@body_string=nil, | |
@chunked=false, | |
@errors="", | |
@header={"Content-Type"=>"text/html; charset=utf-8", "Content-Length"=>"2665", "X-Runtime"=>"4.486342"}, | |
@length=2665, | |
@original_headers= | |
{"Content-Type"=>"text/html; charset=utf-8", "Content-Length"=>"2665", "X-Runtime"=>"4.486342"}, | |
@status=500, | |
@writer= | |
#<Proc:0xacdd9f8@/home/mdupont/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.5/lib/rack/response.rb:28 (lambda)>> | |
F | |
Failure: | |
test_creation_redirect(WaponsTest) [test/weapons_test.rb:23]: | |
Expected (last_response.status == 301), but | |
last_response.status is 500 | |
last_response is #<Rack::MockResponse:0xa705f6c | |
@block=nil, | |
@body= | |
["<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"utf-8\" />\n <title>Action Controller | |
: Exception caught</title>\n <style>\n body { background-color: #fff; color: #333; }\n\n body, p, ol, ul, td {\n f | |
ont-family: helvetica, verdana, arial, sans-serif;\n font-size: 13px;\n line-height: 18px;\n }\n\n pre {\n | |
background-color: #eee;\n padding: 10px;\n font-size: 11px;\n }\n\n a { color: #000; }\n a:visited { co | |
lor: #666; }\n a:hover { color: #fff; background-color:#000; }\n </style>\n</head>\n<body>\n\n<h1>\n SystemStackError\n | |
in WeaponsController#create\n</h1>\n<pre>stack level too deep</pre>\n\n\n<p><code>Rails.root: /home/mdupont/experiments/dias | |
pora_deps/vanna</code></p>\n\n<div id=\"traces\">\n <a href=\"#\" onclick=\"document.getElementById('Framework-Trace').styl | |
e.display='none';document.getElementById('Full-Trace').style.display='none';document.getElementById('Application-Trace').style | |
.display='block';; return false;\">Application Trace</a> |\n <a href=\"#\" onclick=\"document.getElementById('Application-T | |
race').style.display='none';document.getElementById('Full-Trace').style.display='none';document.getElementById('Framework-Trac | |
e').style.display='block';; return false;\">Framework Trace</a> |\n <a href=\"#\" onclick=\"document.getElementById('Applic | |
ation-Trace').style.display='none';document.getElementById('Framework-Trace').style.display='none';document.getElementById('Fu | |
ll-Trace').style.display='block';; return false;\">Full Trace</a> \n\n <div id=\"Application-Trace\" style=\"display: block | |
;\">\n <pre><code></code></pre>\n </div>\n <div id=\"Framework-Trace\" style=\"display: none;\">\n <pre><code> | |
actionpack (3.1.1) lib/action_dispatch/middleware/reloader.rb:73</code></pre>\n </div>\n <div id=\"Full-Trace\" style=\" | |
display: none;\">\n <pre><code>actionpack (3.1.1) lib/action_dispatch/middleware/reloader.rb:73</code></pre>\n </div>\ | |
n</div>\n\n\n\n<h2 style=\"margin-top: 30px\">Request</h2>\n<p><b>Parameters</b>: <pre>{"power"=>"10",\ | |
n "punch"=>"32"}</pre></p>\n\n<p><a href=\"#\" onclick=\"document.getElementById('session_dump').style. | |
display='block'; return false;\">Show session dump</a></p>\n<div id=\"session_dump\" style=\"display:none\"><pre></pre></div>\ | |
n\n<p><a href=\"#\" onclick=\"document.getElementById('env_dump').style.display='block'; return false;\">Show env dump</a></p> | |
\n<div id=\"env_dump\" style=\"display:none\"><pre>REMOTE_ADDR: "127.0.0.1"\nSERVER_NAME: "example.org"</p | |
re></div>\n\n\n<h2 style=\"margin-top: 30px\">Response</h2>\n<p><b>Headers</b>: <pre>None</pre></p>\n\n\n\n</body>\n</html>\n" | |
], | |
@body_string=nil, | |
@chunked=false, | |
@errors="", | |
@header={"Content-Type"=>"text/html; charset=utf-8", "Content-Length"=>"2623", "X-Runtime"=>"0.055969"}, | |
@length=2623, | |
@original_headers= | |
{"Content-Type"=>"text/html; charset=utf-8", "Content-Length"=>"2623", "X-Runtime"=>"0.055969"}, | |
@status=500, | |
@writer= | |
#<Proc:0xa705c88@/home/mdupont/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.5/lib/rack/response.rb:28 (lambda)>> | |
F | |
Failure: | |
test_update_redirect(WaponsTest) [test/weapons_test.rb:29]: | |
Expected (last_response.status == 301), but | |
last_response.status is 500 | |
last_response is #<Rack::MockResponse:0xa1a96cc | |
@block=nil, | |
@body= | |
["<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"utf-8\" />\n <title>Action Controller | |
: Exception caught</title>\n <style>\n body { background-color: #fff; color: #333; }\n\n body, p, ol, ul, td {\n f | |
ont-family: helvetica, verdana, arial, sans-serif;\n font-size: 13px;\n line-height: 18px;\n }\n\n pre {\n | |
background-color: #eee;\n padding: 10px;\n font-size: 11px;\n }\n\n a { color: #000; }\n a:visited { co | |
lor: #666; }\n a:hover { color: #fff; background-color:#000; }\n </style>\n</head>\n<body>\n\n<h1>\n SystemStackError\n | |
in WeaponsController#update\n</h1>\n<pre>stack level too deep</pre>\n\n\n<p><code>Rails.root: /home/mdupont/experiments/dias | |
pora_deps/vanna</code></p>\n\n<div id=\"traces\">\n <a href=\"#\" onclick=\"document.getElementById('Framework-Trace').styl | |
e.display='none';document.getElementById('Full-Trace').style.display='none';document.getElementById('Application-Trace').style | |
.display='block';; return false;\">Application Trace</a> |\n <a href=\"#\" onclick=\"document.getElementById('Application-T | |
race').style.display='none';document.getElementById('Full-Trace').style.display='none';document.getElementById('Framework-Trac | |
e').style.display='block';; return false;\">Framework Trace</a> |\n <a href=\"#\" onclick=\"document.getElementById('Applic | |
ation-Trace').style.display='none';document.getElementById('Framework-Trace').style.display='none';document.getElementById('Fu | |
ll-Trace').style.display='block';; return false;\">Full Trace</a> \n\n <div id=\"Application-Trace\" style=\"display: block | |
;\">\n <pre><code></code></pre>\n </div>\n <div id=\"Framework-Trace\" style=\"display: none;\">\n <pre><code> | |
actionpack (3.1.1) lib/action_dispatch/middleware/reloader.rb:73</code></pre>\n </div>\n <div id=\"Full-Trace\" style=\" | |
display: none;\">\n <pre><code>actionpack (3.1.1) lib/action_dispatch/middleware/reloader.rb:73</code></pre>\n </div>\ | |
n</div>\n\n\n\n<h2 style=\"margin-top: 30px\">Request</h2>\n<p><b>Parameters</b>: <pre>{"weapon"=>{"id" | |
=>"1",\n "power"=>"100"}}</pre></p>\n\n<p><a href=\"#\" onclick=\"document.getElementById( | |
'session_dump').style.display='block'; return false;\">Show session dump</a></p>\n<div id=\"session_dump\" style=\"display:non | |
e\"><pre></pre></div>\n\n<p><a href=\"#\" onclick=\"document.getElementById('env_dump').style.display='block'; return false;\" | |
>Show env dump</a></p>\n<div id=\"env_dump\" style=\"display:none\"><pre>REMOTE_ADDR: "127.0.0.1"\nSERVER_NAME: &quo | |
t;example.org"</pre></div>\n\n\n<h2 style=\"margin-top: 30px\">Response</h2>\n<p><b>Headers</b>: <pre>None</pre></p>\n\n\ | |
n\n</body>\n</html>\n"], | |
@body_string=nil, | |
@chunked=false, | |
@errors="", | |
@header={"Content-Type"=>"text/html; charset=utf-8", "Content-Length"=>"2645", "X-Runtime"=>"0.055362"}, | |
@length=2645, | |
@original_headers= | |
{"Content-Type"=>"text/html; charset=utf-8", "Content-Length"=>"2645", "X-Runtime"=>"0.055362"}, | |
@status=500, | |
@writer= | |
#<Proc:0xa1a6ff8@/home/mdupont/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.5/lib/rack/response.rb:28 (lambda)>> | |
Finished in 5.40971229 seconds. | |
3 tests, 3 assertions, 3 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications | |
0% passed | |
0.55 tests/s, 0.55 assertions/s | |
rake aborted! | |
Command failed with status (1): [ruby test/weapons_test.rb...] | |
Tasks: TOP => default => test | |
(See full trace by running task with --trace) | |
ruby test/basic_test.rb | |
/home/mdupont/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find minitest (>= 0) amongst [rake-0.9.2] (Gem::LoadError) | |
from /home/mdupont/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec' | |
from /home/mdupont/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems.rb:1210:in `gem' | |
from /home/mdupont/experiments/diaspora_deps/vanna/test/test_helper.rb:5:in `<top (required)>' | |
from /home/mdupont/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
from /home/mdupont/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
from test/basic_test.rb:1:in `<main>' | |
rake aborted! | |
Command failed with status (1): [ruby test/basic_test.rb...] | |
Tasks: TOP => default => test | |
(See full trace by running task with --trace) | |
ruby test/basic_test.rb | |
Loaded suite test/basic_test | |
Started | |
.. | |
Finished in 1.791905 seconds. | |
2 tests, 2 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications | |
100% passed | |
1.12 tests/s, 1.12 assertions/s | |
ruby test/personas_test.rb | |
Loaded suite test/personas_test | |
Started | |
......F | |
Failure: | |
test_html_redirects_on_post_failure(PersonasTest) [test/personas_test.rb:79]: | |
Expected (last_response.status == 302), but | |
last_response.status is 500 | |
last_response is #<Rack::MockResponse:0x96b1a58 | |
@block=nil, | |
@body= | |
["<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"utf-8\" />\n <title>Action Controller | |
: Exception caught</title>\n <style>\n body { background-color: #fff; color: #333; }\n\n body, p, ol, ul, td {\n f | |
ont-family: helvetica, verdana, arial, sans-serif;\n font-size: 13px;\n line-height: 18px;\n }\n\n pre {\n | |
background-color: #eee;\n padding: 10px;\n font-size: 11px;\n }\n\n a { color: #000; }\n a:visited { co | |
lor: #666; }\n a:hover { color: #fff; background-color:#000; }\n </style>\n</head>\n<body>\n\n<h1>\n TypeError\n in Pe | |
rsonasController#create\n</h1>\n<pre>can't modify frozen object</pre>\n\n\n<p><code>Rails.root: /home/mdupont/experiments/dias | |
pora_deps/vanna</code></p>\n\n<div id=\"traces\">\n <a href=\"#\" onclick=\"document.getElementById('Framework-Trace').styl | |
e.display='none';document.getElementById('Full-Trace').style.display='none';document.getElementById('Application-Trace').style | |
.display='block';; return false;\">Application Trace</a> |\n <a href=\"#\" onclick=\"document.getElementById('Application-T | |
race').style.display='none';document.getElementById('Full-Trace').style.display='none';document.getElementById('Framework-Trac | |
e').style.display='block';; return false;\">Framework Trace</a> |\n <a href=\"#\" onclick=\"document.getElementById('Applic | |
ation-Trace').style.display='none';document.getElementById('Framework-Trace').style.display='none';document.getElementById('Fu | |
ll-Trace').style.display='block';; return false;\">Full Trace</a> \n\n <div id=\"Application-Trace\" style=\"display: block | |
;\">\n <pre><code>test/personas_test.rb:78:in `test_html_redirects_on_post_failure'\ntest-unit (2.4.0) lib/test/unit/test | |
case.rb:531:in `__send__'\ntest-unit (2.4.0) lib/test/unit/testcase.rb:531:in `run_test'\ntest-unit (2.4.0) lib/test/unit/test | |
case.rb:326:in `run'\ntest-unit (2.4.0) lib/test/unit/testsuite.rb:53:in `run'\ntest-unit (2.4.0) lib/test/unit/ui/testrunnerm | |
ediator.rb:54:in `run_suite'\ntest-unit (2.4.0) lib/test/unit/ui/testrunner.rb:40:in `start_mediator'\ntest-unit (2.4.0) lib/t | |
est/unit/ui/testrunner.rb:25:in `start'\ntest-unit (2.4.0) lib/test/unit/ui/testrunnerutilities.rb:24:in `run'\ntest-unit (2.4 | |
.0) lib/test/unit/autorunner.rb:365:in `run'\ntest-unit (2.4.0) lib/test/unit/autorunner.rb:58:in `run'\ntest-unit (2.4.0) lib | |
/test/unit.rb:326</code></pre>\n </div>\n <div id=\"Framework-Trace\" style=\"display: none;\">\n <pre><code>action | |
pack (3.1.1) lib/action_dispatch/middleware/reloader.rb:69:in `extend_object'\nactionpack (3.1.1) lib/action_dispatch/middlewa | |
re/reloader.rb:69:in `extend'\nactionpack (3.1.1) lib/action_dispatch/middleware/reloader.rb:69:in `call'\nrack (1.3.5) lib/ra | |
ck/sendfile.rb:101:in `call'\nactionpack (3.1.1) lib/action_dispatch/middleware/remote_ip.rb:48:in `call'\nactionpack (3.1.1) | |
lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'\nrailties (3.1.1) lib/rails/rack/logger.rb:13:in `call'\nrack ( | |
1.3.5) lib/rack/methodoverride.rb:24:in `call'\nrack (1.3.5) lib/rack/runtime.rb:17:in `call'\nactivesupport (3.1.1) lib/activ | |
e_support/cache/strategy/local_cache.rb:72:in `call'\nrack (1.3.5) lib/rack/lock.rb:15:in `call'\nactionpack (3.1.1) lib/actio | |
n_dispatch/middleware/static.rb:53:in `call'\nrailties (3.1.1) lib/rails/engine.rb:456:in `call'\nrailties (3.1.1) lib/rails/r | |
ailtie/configurable.rb:30:in `send'\nrailties (3.1.1) lib/rails/railtie/configurable.rb:30:in `method_missing'\nrack-test (0.6 | |
.1) lib/rack/mock_session.rb:30:in `request'\nrack-test (0.6.1) lib/rack/test.rb:219:in `process_request'\nrack-test (0.6.1) l | |
ib/rack/test.rb:66:in `post'\n(__FORWARDABLE__):3:in `__send__'\n(__FORWARDABLE__):3:in `post'</code></pre>\n </div>\n < | |
div id=\"Full-Trace\" style=\"display: none;\">\n <pre><code>actionpack (3.1.1) lib/action_dispatch/middleware/reloader.r | |
b:69:in `extend_object'\nactionpack (3.1.1) lib/action_dispatch/middleware/reloader.rb:69:in `extend'\nactionpack (3.1.1) lib/ | |
action_dispatch/middleware/reloader.rb:69:in `call'\nrack (1.3.5) lib/rack/sendfile.rb:101:in `call'\nactionpack (3.1.1) lib/a | |
ction_dispatch/middleware/remote_ip.rb:48:in `call'\nactionpack (3.1.1) lib/action_dispatch/middleware/show_exceptions.rb:47:i | |
n `call'\nrailties (3.1.1) lib/rails/rack/logger.rb:13:in `call'\nrack (1.3.5) lib/rack/methodoverride.rb:24:in `call'\nrack ( | |
1.3.5) lib/rack/runtime.rb:17:in `call'\nactivesupport (3.1.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call'\n | |
rack (1.3.5) lib/rack/lock.rb:15:in `call'\nactionpack (3.1.1) lib/action_dispatch/middleware/static.rb:53:in `call'\nrailties | |
(3.1.1) lib/rails/engine.rb:456:in `call'\nrailties (3.1.1) lib/rails/railtie/configurable.rb:30:in `send'\nrailties (3.1.1) | |
lib/rails/railtie/configurable.rb:30:in `method_missing'\nrack-test (0.6.1) lib/rack/mock_session.rb:30:in `request'\nrack-tes | |
t (0.6.1) lib/rack/test.rb:219:in `process_request'\nrack-test (0.6.1) lib/rack/test.rb:66:in `post'\n(__FORWARDABLE__):3:in ` | |
__send__'\n(__FORWARDABLE__):3:in `post'\ntest/personas_test.rb:78:in `test_html_redirects_on_post_failure'\ntest-unit (2.4.0) | |
lib/test/unit/testcase.rb:531:in `__send__'\ntest-unit (2.4.0) lib/test/unit/testcase.rb:531:in `run_test'\ntest-unit (2.4.0) | |
lib/test/unit/testcase.rb:326:in `run'\ntest-unit (2.4.0) lib/test/unit/testsuite.rb:53:in `run'\ntest-unit (2.4.0) lib/test/ | |
unit/ui/testrunnermediator.rb:54:in `run_suite'\ntest-unit (2.4.0) lib/test/unit/ui/testrunner.rb:40:in `start_mediator'\ntest | |
-unit (2.4.0) lib/test/unit/ui/testrunner.rb:25:in `start'\ntest-unit (2.4.0) lib/test/unit/ui/testrunnerutilities.rb:24:in `r | |
un'\ntest-unit (2.4.0) lib/test/unit/autorunner.rb:365:in `run'\ntest-unit (2.4.0) lib/test/unit/autorunner.rb:58:in `run'\nte | |
st-unit (2.4.0) lib/test/unit.rb:326</code></pre>\n </div>\n</div>\n\n\n\n<h2 style=\"margin-top: 30px\">Request</h2>\n<p>< | |
b>Parameters</b>: <pre>{"persona"=>{"catchphrase"=>"Say my name!"}}</pre></p>\n\n<p><a hre | |
f=\"#\" onclick=\"document.getElementById('session_dump').style.display='block'; return false;\">Show session dump</a></p>\n<d | |
iv id=\"session_dump\" style=\"display:none\"><pre></pre></div>\n\n<p><a href=\"#\" onclick=\"document.getElementById('env_dum | |
p').style.display='block'; return false;\">Show env dump</a></p>\n<div id=\"env_dump\" style=\"display:none\"><pre>REMOTE_ADDR | |
: "127.0.0.1"\nSERVER_NAME: "example.org"</pre></div>\n\n\n<h2 style=\"margin-top: 30px\">Response</h2>\n< | |
p><b>Headers</b>: <pre>None</pre></p>\n\n\n\n</body>\n</html>\n"], | |
@body_string=nil, | |
@chunked=false, | |
@errors="", | |
@header={"X-Runtime"=>"0.068893", "Content-Type"=>"text/html; charset=utf-8", "Content-Length"=>"6407"}, | |
@length=6407, | |
@original_headers= | |
{"X-Runtime"=>"0.068893", "Content-Type"=>"text/html; charset=utf-8", "Content-Length"=>"6407"}, | |
@status=500, | |
@writer=#<Proc:0x09922c74@/home/mdupont/.rvm/gems/ree-1.8.7-2011.03/gems/rack-1.3.5/lib/rack/response.rb:28>> | |
F | |
Failure: | |
test_html_redirects_on_post_success(PersonasTest) [test/personas_test.rb:67]: | |
Expected (last_response.status == 302), but | |
last_response.status is 500 | |
last_response is #<Rack::MockResponse:0x8c65004 | |
@block=nil, | |
@body= | |
["<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"utf-8\" />\n <title>Action Controller | |
: Exception caught</title>\n <style>\n body { background-color: #fff; color: #333; }\n\n body, p, ol, ul, td {\n f | |
ont-family: helvetica, verdana, arial, sans-serif;\n font-size: 13px;\n line-height: 18px;\n }\n\n pre {\n | |
background-color: #eee;\n padding: 10px;\n font-size: 11px;\n }\n\n a { color: #000; }\n a:visited { co | |
lor: #666; }\n a:hover { color: #fff; background-color:#000; }\n </style>\n</head>\n<body>\n\n<h1>\n TypeError\n in Pe | |
rsonasController#create\n</h1>\n<pre>can't modify frozen object</pre>\n\n\n<p><code>Rails.root: /home/mdupont/experiments/dias | |
pora_deps/vanna</code></p>\n\n<div id=\"traces\">\n <a href=\"#\" onclick=\"document.getElementById('Framework-Trace').styl | |
e.display='none';document.getElementById('Full-Trace').style.display='none';document.getElementById('Application-Trace').style | |
.display='block';; return false;\">Application Trace</a> |\n <a href=\"#\" onclick=\"document.getElementById('Application-T | |
race').style.display='none';document.getElementById('Full-Trace').style.display='none';document.getElementById('Framework-Trac | |
e').style.display='block';; return false;\">Framework Trace</a> |\n <a href=\"#\" onclick=\"document.getElementById('Applic | |
ation-Trace').style.display='none';document.getElementById('Framework-Trace').style.display='none';document.getElementById('Fu | |
ll-Trace').style.display='block';; return false;\">Full Trace</a> \n\n <div id=\"Application-Trace\" style=\"display: block | |
;\">\n <pre><code>test/personas_test.rb:66:in `test_html_redirects_on_post_success'\ntest-unit (2.4.0) lib/test/unit/test | |
case.rb:531:in `__send__'\ntest-unit (2.4.0) lib/test/unit/testcase.rb:531:in `run_test'\ntest-unit (2.4.0) lib/test/unit/test | |
case.rb:326:in `run'\ntest-unit (2.4.0) lib/test/unit/testsuite.rb:53:in `run'\ntest-unit (2.4.0) lib/test/unit/ui/testrunnerm | |
ediator.rb:54:in `run_suite'\ntest-unit (2.4.0) lib/test/unit/ui/testrunner.rb:40:in `start_mediator'\ntest-unit (2.4.0) lib/t | |
est/unit/ui/testrunner.rb:25:in `start'\ntest-unit (2.4.0) lib/test/unit/ui/testrunnerutilities.rb:24:in `run'\ntest-unit (2.4 | |
.0) lib/test/unit/autorunner.rb:365:in `run'\ntest-unit (2.4.0) lib/test/unit/autorunner.rb:58:in `run'\ntest-unit (2.4.0) lib | |
/test/unit.rb:326</code></pre>\n </div>\n <div id=\"Framework-Trace\" style=\"display: none;\">\n <pre><code>action | |
pack (3.1.1) lib/action_dispatch/middleware/reloader.rb:69:in `extend_object'\nactionpack (3.1.1) lib/action_dispatch/middlewa | |
re/reloader.rb:69:in `extend'\nactionpack (3.1.1) lib/action_dispatch/middleware/reloader.rb:69:in `call'\nrack (1.3.5) lib/ra | |
ck/sendfile.rb:101:in `call'\nactionpack (3.1.1) lib/action_dispatch/middleware/remote_ip.rb:48:in `call'\nactionpack (3.1.1) | |
lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'\nrailties (3.1.1) lib/rails/rack/logger.rb:13:in `call'\nrack ( | |
1.3.5) lib/rack/methodoverride.rb:24:in `call'\nrack (1.3.5) lib/rack/runtime.rb:17:in `call'\nactivesupport (3.1.1) lib/activ | |
e_support/cache/strategy/local_cache.rb:72:in `call'\nrack (1.3.5) lib/rack/lock.rb:15:in `call'\nactionpack (3.1.1) lib/actio | |
n_dispatch/middleware/static.rb:53:in `call'\nrailties (3.1.1) lib/rails/engine.rb:456:in `call'\nrailties (3.1.1) lib/rails/r | |
ailtie/configurable.rb:30:in `send'\nrailties (3.1.1) lib/rails/railtie/configurable.rb:30:in `method_missing'\nrack-test (0.6 | |
.1) lib/rack/mock_session.rb:30:in `request'\nrack-test (0.6.1) lib/rack/test.rb:219:in `process_request'\nrack-test (0.6.1) l | |
ib/rack/test.rb:66:in `post'\n(__FORWARDABLE__):3:in `__send__'\n(__FORWARDABLE__):3:in `post'</code></pre>\n </div>\n < | |
div id=\"Full-Trace\" style=\"display: none;\">\n <pre><code>actionpack (3.1.1) lib/action_dispatch/middleware/reloader.r | |
b:69:in `extend_object'\nactionpack (3.1.1) lib/action_dispatch/middleware/reloader.rb:69:in `extend'\nactionpack (3.1.1) lib/ | |
action_dispatch/middleware/reloader.rb:69:in `call'\nrack (1.3.5) lib/rack/sendfile.rb:101:in `call'\nactionpack (3.1.1) lib/a | |
ction_dispatch/middleware/remote_ip.rb:48:in `call'\nactionpack (3.1.1) lib/action_dispatch/middleware/show_exceptions.rb:47:i | |
n `call'\nrailties (3.1.1) lib/rails/rack/logger.rb:13:in `call'\nrack (1.3.5) lib/rack/methodoverride.rb:24:in `call'\nrack ( | |
1.3.5) lib/rack/runtime.rb:17:in `call'\nactivesupport (3.1.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call'\n | |
rack (1.3.5) lib/rack/lock.rb:15:in `call'\nactionpack (3.1.1) lib/action_dispatch/middleware/static.rb:53:in `call'\nrailties | |
(3.1.1) lib/rails/engine.rb:456:in `call'\nrailties (3.1.1) lib/rails/railtie/configurable.rb:30:in `send'\nrailties (3.1.1) | |
lib/rails/railtie/configurable.rb:30:in `method_missing'\nrack-test (0.6.1) lib/rack/mock_session.rb:30:in `request'\nrack-tes | |
t (0.6.1) lib/rack/test.rb:219:in `process_request'\nrack-test (0.6.1) lib/rack/test.rb:66:in `post'\n(__FORWARDABLE__):3:in ` | |
__send__'\n(__FORWARDABLE__):3:in `post'\ntest/personas_test.rb:66:in `test_html_redirects_on_post_success'\ntest-unit (2.4.0) | |
lib/test/unit/testcase.rb:531:in `__send__'\ntest-unit (2.4.0) lib/test/unit/testcase.rb:531:in `run_test'\ntest-unit (2.4.0) | |
lib/test/unit/testcase.rb:326:in `run'\ntest-unit (2.4.0) lib/test/unit/testsuite.rb:53:in `run'\ntest-unit (2.4.0) lib/test/ | |
unit/ui/testrunnermediator.rb:54:in `run_suite'\ntest-unit (2.4.0) lib/test/unit/ui/testrunner.rb:40:in `start_mediator'\ntest | |
-unit (2.4.0) lib/test/unit/ui/testrunner.rb:25:in `start'\ntest-unit (2.4.0) lib/test/unit/ui/testrunnerutilities.rb:24:in `r | |
un'\ntest-unit (2.4.0) lib/test/unit/autorunner.rb:365:in `run'\ntest-unit (2.4.0) lib/test/unit/autorunner.rb:58:in `run'\nte | |
st-unit (2.4.0) lib/test/unit.rb:326</code></pre>\n </div>\n</div>\n\n\n\n<h2 style=\"margin-top: 30px\">Request</h2>\n<p>< | |
b>Parameters</b>: <pre>{"persona"=>{"name"=>"Empress Beluga",\n "catchphrase"=&g | |
t;"Let's have a WHALE of a time!"}}</pre></p>\n\n<p><a href=\"#\" onclick=\"document.getElementById('session_dump'). | |
style.display='block'; return false;\">Show session dump</a></p>\n<div id=\"session_dump\" style=\"display:none\"><pre></pre>< | |
/div>\n\n<p><a href=\"#\" onclick=\"document.getElementById('env_dump').style.display='block'; return false;\">Show env dump</ | |
a></p>\n<div id=\"env_dump\" style=\"display:none\"><pre>REMOTE_ADDR: "127.0.0.1"\nSERVER_NAME: "example.org&qu | |
ot;</pre></div>\n\n\n<h2 style=\"margin-top: 30px\">Response</h2>\n<p><b>Headers</b>: <pre>None</pre></p>\n\n\n\n</body>\n</ht | |
ml>\n"], | |
@body_string=nil, | |
@chunked=false, | |
@errors="", | |
@header={"X-Runtime"=>"0.038940", "Content-Type"=>"text/html; charset=utf-8", "Content-Length"=>"6474"}, | |
@length=6474, | |
@original_headers= | |
{"X-Runtime"=>"0.038940", "Content-Type"=>"text/html; charset=utf-8", "Content-Length"=>"6474"}, | |
@status=500, | |
@writer=#<Proc:0x09922c74@/home/mdupont/.rvm/gems/ree-1.8.7-2011.03/gems/rack-1.3.5/lib/rack/response.rb:28>> | |
..... | |
Finished in 2.686263 seconds. | |
13 tests, 15 assertions, 2 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications | |
84.6154% passed | |
4.84 tests/s, 5.58 assertions/s | |
rake aborted! | |
Command failed with status (1): [ruby test/personas_test.rb...] | |
Tasks: TOP => default => test | |
(See full trace by running task with --trace) | |
mdupont@space-station:~/experiments/diaspora_deps/vanna$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment