Skip to content

Instantly share code, notes, and snippets.

Created August 23, 2010 15:16
Show Gist options
  • Save anonymous/545686 to your computer and use it in GitHub Desktop.
Save anonymous/545686 to your computer and use it in GitHub Desktop.
Loaded suite /usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
.....................................EEEE.F...............
Finished in 96.705 seconds.
1) Error:
test: a publication copied to another owner should be a child of its parent. (PublicationTest):
NoMethodError: You have a nil object when you didn't expect it!
You might have expected an instance of ActiveRecord::Base.
The error occurred while evaluating nil.destroy
/test/unit/publication_test.rb:75:in `__bind_1282575542_188000'
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 be a child of its parent. '
2) Error:
test: a publication copied to another owner should belong to the new owner. (PublicationTest):
NoMethodError: You have a nil object when you didn't expect it!
You might have expected an instance of ActiveRecord::Base.
The error occurred while evaluating nil.destroy
/test/unit/publication_test.rb:75:in `__bind_1282575543_965000'
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 belong to the new owner. '
3) Error:
test: a publication copied to another owner should have its source as a parent. (PublicationTest):
NoMethodError: You have a nil object when you didn't expect it!
You might have expected an instance of ActiveRecord::Base.
The error occurred while evaluating nil.destroy
/test/unit/publication_test.rb:75:in `__bind_1282575545_458000'
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 have its source as a parent. '
4) Error:
test: a publication copied to another owner should retain the original creator. (PublicationTest):
NoMethodError: You have a nil object when you didn't expect it!
You might have expected an instance of ActiveRecord::Base.
The error occurred while evaluating nil.destroy
/test/unit/publication_test.rb:75:in `__bind_1282575547_70000'
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. '
5) Failure:
test: a publication with unicode in its title/branch should have the branch. (PublicationTest)
[/test/unit/publication_test.rb:120:in `__bind_1282575548_261000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `test: a publication with unicode in its title/branch should have the branch. ']:
<false> is not true.
58 tests, 118 assertions, 1 failures, 4 errors
Loaded suite /usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
........................................EEEEEEE
Finished in 72.335 seconds.
1) Error:
test: for IDP2 a publication submitted with only DDB modifications should be copied to the DDB board. (WorkflowTest):
NoMethodError: You have a nil object when you didn't expect it!
The error occurred while evaluating nil.commit
app/models/repository.rb:137:in `create_branch'
app/models/repository.rb:152:in `copy_branch_from_repo'
app/models/publication.rb:795:in `copy_to_owner'
app/models/publication.rb:163:in `submit_identifier'
app/models/publication.rb:150:in `each'
app/models/publication.rb:150:in `submit_identifier'
app/models/publication.rb:113:in `submit_to_next_board'
app/models/publication.rb:110:in `submit_to_next_board'
app/models/publication.rb:109:in `each'
app/models/publication.rb:109:in `submit_to_next_board'
app/models/publication.rb:189:in `submit'
/test/functional/workflow_test.rb:85:in `__bind_1282575609_65000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:369:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:368:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:368:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:350:in `test: for IDP2 a publication submitted with only DDB modifications should be copied to the DDB board. '
2) Error:
test: for IDP2 a publication submitted with only DDB modifications should not be copied to the HGV boards. (WorkflowTest):
NoMethodError: You have a nil object when you didn't expect it!
The error occurred while evaluating nil.commit
app/models/repository.rb:137:in `create_branch'
app/models/repository.rb:152:in `copy_branch_from_repo'
app/models/publication.rb:795:in `copy_to_owner'
app/models/publication.rb:163:in `submit_identifier'
app/models/publication.rb:150:in `each'
app/models/publication.rb:150:in `submit_identifier'
app/models/publication.rb:113:in `submit_to_next_board'
app/models/publication.rb:110:in `submit_to_next_board'
app/models/publication.rb:109:in `each'
app/models/publication.rb:109:in `submit_to_next_board'
app/models/publication.rb:189:in `submit'
/test/functional/workflow_test.rb:85:in `__bind_1282575618_506000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:369:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:368:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:368:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:350:in `test: for IDP2 a publication submitted with only DDB modifications should not be copied to the HGV boards. '
3) Error:
test: for IDP2 a publication submitted with only DDB modifications voted 'approve' should be copied to a finalizer. (WorkflowTest):
NoMethodError: You have a nil object when you didn't expect it!
The error occurred while evaluating nil.commit
app/models/repository.rb:137:in `create_branch'
app/models/repository.rb:152:in `copy_branch_from_repo'
app/models/publication.rb:795:in `copy_to_owner'
app/models/publication.rb:163:in `submit_identifier'
app/models/publication.rb:150:in `each'
app/models/publication.rb:150:in `submit_identifier'
app/models/publication.rb:113:in `submit_to_next_board'
app/models/publication.rb:110:in `submit_to_next_board'
app/models/publication.rb:109:in `each'
app/models/publication.rb:109:in `submit_to_next_board'
app/models/publication.rb:189:in `submit'
/test/functional/workflow_test.rb:85:in `__bind_1282575622_686000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:369:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:368:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:368:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:360:in `run_all_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:364:in `run_parent_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:348:in `test: for IDP2 a publication submitted with only DDB modifications voted 'approve' should be copied to a finalizer. '
4) Error:
test: for IDP2 a publication submitted with only DDB modifications voted 'approve' should have two 'approve' votes. (WorkflowTest):
NoMethodError: You have a nil object when you didn't expect it!
The error occurred while evaluating nil.commit
app/models/repository.rb:137:in `create_branch'
app/models/repository.rb:152:in `copy_branch_from_repo'
app/models/publication.rb:795:in `copy_to_owner'
app/models/publication.rb:163:in `submit_identifier'
app/models/publication.rb:150:in `each'
app/models/publication.rb:150:in `submit_identifier'
app/models/publication.rb:113:in `submit_to_next_board'
app/models/publication.rb:110:in `submit_to_next_board'
app/models/publication.rb:109:in `each'
app/models/publication.rb:109:in `submit_to_next_board'
app/models/publication.rb:189:in `submit'
/test/functional/workflow_test.rb:85:in `__bind_1282575626_976000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:369:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:368:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:368:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:360:in `run_all_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:364:in `run_parent_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:348:in `test: for IDP2 a publication submitted with only DDB modifications voted 'approve' should have two 'approve' votes. '
5) Error:
test: for IDP2 a publication submitted with only DDB modifications voted 'reject' should be copied back to the submitter. (WorkflowTest):
NoMethodError: You have a nil object when you didn't expect it!
The error occurred while evaluating nil.commit
app/models/repository.rb:137:in `create_branch'
app/models/repository.rb:152:in `copy_branch_from_repo'
app/models/publication.rb:795:in `copy_to_owner'
app/models/publication.rb:163:in `submit_identifier'
app/models/publication.rb:150:in `each'
app/models/publication.rb:150:in `submit_identifier'
app/models/publication.rb:113:in `submit_to_next_board'
app/models/publication.rb:110:in `submit_to_next_board'
app/models/publication.rb:109:in `each'
app/models/publication.rb:109:in `submit_to_next_board'
app/models/publication.rb:189:in `submit'
/test/functional/workflow_test.rb:85:in `__bind_1282575631_332000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:369:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:368:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:368:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:360:in `run_all_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:364:in `run_parent_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:348:in `test: for IDP2 a publication submitted with only DDB modifications voted 'reject' should be copied back to the submitter. '
6) Error:
test: for IDP2 a publication submitted with only DDB modifications voted 'reject' should be deleted from editorial board. (WorkflowTest):
NoMethodError: You have a nil object when you didn't expect it!
The error occurred while evaluating nil.commit
app/models/repository.rb:137:in `create_branch'
app/models/repository.rb:152:in `copy_branch_from_repo'
app/models/publication.rb:795:in `copy_to_owner'
app/models/publication.rb:163:in `submit_identifier'
app/models/publication.rb:150:in `each'
app/models/publication.rb:150:in `submit_identifier'
app/models/publication.rb:113:in `submit_to_next_board'
app/models/publication.rb:110:in `submit_to_next_board'
app/models/publication.rb:109:in `each'
app/models/publication.rb:109:in `submit_to_next_board'
app/models/publication.rb:189:in `submit'
/test/functional/workflow_test.rb:85:in `__bind_1282575635_267000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:369:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:368:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:368:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:360:in `run_all_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:364:in `run_parent_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:348:in `test: for IDP2 a publication submitted with only DDB modifications voted 'reject' should be deleted from editorial board. '
7) Error:
test: for IDP2 a publication submitted with only DDB modifications voted 'reject' should have two 'reject' vote comments. (WorkflowTest):
NoMethodError: You have a nil object when you didn't expect it!
The error occurred while evaluating nil.commit
app/models/repository.rb:137:in `create_branch'
app/models/repository.rb:152:in `copy_branch_from_repo'
app/models/publication.rb:795:in `copy_to_owner'
app/models/publication.rb:163:in `submit_identifier'
app/models/publication.rb:150:in `each'
app/models/publication.rb:150:in `submit_identifier'
app/models/publication.rb:113:in `submit_to_next_board'
app/models/publication.rb:110:in `submit_to_next_board'
app/models/publication.rb:109:in `each'
app/models/publication.rb:109:in `submit_to_next_board'
app/models/publication.rb:189:in `submit'
/test/functional/workflow_test.rb:85:in `__bind_1282575639_440000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:369:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:368:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:368:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:360:in `run_all_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:364:in `run_parent_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:348:in `test: for IDP2 a publication submitted with only DDB modifications voted 'reject' should have two 'reject' vote comments. '
47 tests, 56 assertions, 0 failures, 7 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment