Skip to content

Instantly share code, notes, and snippets.

@hcayless
Created March 2, 2010 17:20
Show Gist options
  • Save hcayless/319695 to your computer and use it in GitHub Desktop.
Save hcayless/319695 to your computer and use it in GitHub Desktop.
1) Error:
test: a new publication from templates should delete its branch upon destruction. (PublicationTest):
RuntimeError: Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id
/test/unit/publication_test.rb:29:in `__bind_1267550211_440000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:375:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:353:in `test: a new publication from templates should delete its branch upon destruction. '
2) Error:
test: a new publication from templates should exist. (PublicationTest):
SystemCallError: Unknown error - No such directory
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1291:in `remove_dir1'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1305:in `platform_support'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1290:in `remove_dir1'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1283:in `remove'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:756:in `remove_entry'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1335:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1335:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1339:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1334:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1333:in `each'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1333:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1334:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1333:in `each'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1333:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:754:in `remove_entry'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:612:in `rm_r'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:608:in `each'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:608:in `rm_r'
app/models/repository.rb:71:in `destroy'
app/models/user.rb:81:in `before_destroy'
/test/unit/publication_test.rb:30:in `__bind_1267550214_460000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:375:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:353:in `test: a new publication from templates should exist. '
3) Error:
test: a new publication from templates should have a head. (PublicationTest):
SystemCallError: Unknown error - No such directory
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1291:in `remove_dir1'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1305:in `platform_support'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1290:in `remove_dir1'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1283:in `remove'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:756:in `remove_entry'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1335:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1335:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1339:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1334:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1333:in `each'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1333:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1334:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1333:in `each'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1333:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:754:in `remove_entry'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:612:in `rm_r'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:608:in `each'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:608:in `rm_r'
app/models/repository.rb:71:in `destroy'
app/models/user.rb:81:in `before_destroy'
/test/unit/publication_test.rb:30:in `__bind_1267550225_147000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:375:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:353:in `test: a new publication from templates should have a head. '
4) Error:
test: a new publication from templates should have an equivalent creator and owner. (PublicationTest):
SystemCallError: Unknown error - No such directory
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1291:in `remove_dir1'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1305:in `platform_support'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1290:in `remove_dir1'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1283:in `remove'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:756:in `remove_entry'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1335:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1335:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1339:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1334:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1333:in `each'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1333:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1334:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1333:in `each'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1333:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:754:in `remove_entry'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:612:in `rm_r'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:608:in `each'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:608:in `rm_r'
app/models/repository.rb:71:in `destroy'
app/models/user.rb:81:in `before_destroy'
/test/unit/publication_test.rb:30:in `__bind_1267550230_793000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:375:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:353:in `test: a new publication from templates should have an equivalent creator and owner. '
5) Error:
test: a new publication from templates should have status 'new'. (PublicationTest):
SystemCallError: Unknown error - No such directory
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1291:in `remove_dir1'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1305:in `platform_support'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1290:in `remove_dir1'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1283:in `remove'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:756:in `remove_entry'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1335:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1335:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1339:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1334:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1333:in `each'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1333:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1334:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1333:in `each'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1333:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:754:in `remove_entry'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:612:in `rm_r'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:608:in `each'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:608:in `rm_r'
app/models/repository.rb:71:in `destroy'
app/models/user.rb:81:in `before_destroy'
/test/unit/publication_test.rb:30:in `__bind_1267550235_232000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:375:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:353:in `test: a new publication from templates should have status 'new'. '
6) Error:
test: a new publication from templates should have valid XML for templates. (PublicationTest):
SystemCallError: Unknown error - No such directory
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1291:in `remove_dir1'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1305:in `platform_support'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1290:in `remove_dir1'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1283:in `remove'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:756:in `remove_entry'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1335:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1335:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1339:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1334:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1333:in `each'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1333:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1334:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1333:in `each'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1333:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:754:in `remove_entry'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:612:in `rm_r'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:608:in `each'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:608:in `rm_r'
app/models/repository.rb:71:in `destroy'
app/models/user.rb:81:in `before_destroy'
/test/unit/publication_test.rb:30:in `__bind_1267550242_412000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:375:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:353:in `test: a new publication from templates should have valid XML for templates. '
7) Error:
test: a publication copied to another owner should retain the original creator. (PublicationTest):
SystemCallError: Unknown error - No such directory
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1291:in `remove_dir1'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1305:in `platform_support'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1290:in `remove_dir1'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1283:in `remove'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:756:in `remove_entry'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1335:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1335:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1339:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1334:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1333:in `each'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1333:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1334:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1333:in `each'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:1333:in `postorder_traverse'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:754:in `remove_entry'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:612:in `rm_r'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:608:in `each'
/usr/local/jruby/lib/ruby/1.8/fileutils.rb:608:in `rm_r'
app/models/repository.rb:71:in `destroy'
app/models/user.rb:81:in `before_destroy'
/test/unit/publication_test.rb:79:in `__bind_1267550298_275000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:375:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:353:in `test: a publication copied to another owner should retain the original creator. '
50 tests, 114 assertions, 0 failures, 7 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment