Created
August 4, 2009 15:10
-
-
Save djsun/161299 to your computer and use it in GitHub Desktop.
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
In response to: | |
http://github.com/jnunemaker/mongomapper/issues/#issue/46 | |
My setup: | |
* MongoDB nightly OSX 32 bit build. | |
* mongomapper | |
* pulled from git://github.com/jnunemaker/mongomapper.git | |
* Gems (installed via 'sudo gem install ...') | |
* mongodb-mongo (0.10.1) | |
* mongodb-mongo_ext (0.4.1) | |
mongomapper$ rake test | |
(in /Users/david/src/mongomapper) | |
/opt/local/bin/ruby -I"lib:lib:test" "/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/functional/associations/test_belongs_to_polymorphic_proxy.rb" "test/functional/associations/test_belongs_to_proxy.rb" "test/functional/associations/test_many_embedded_polymorphic_proxy.rb" "test/functional/associations/test_many_embedded_proxy.rb" "test/functional/associations/test_many_polymorphic_proxy.rb" "test/functional/associations/test_many_proxy.rb" "test/functional/test_associations.rb" "test/functional/test_callbacks.rb" "test/functional/test_document.rb" "test/functional/test_pagination.rb" "test/functional/test_rails_compatibility.rb" "test/functional/test_validations.rb" "test/test_helper.rb" "test/unit/serializers/test_json_serializer.rb" "test/unit/test_association_base.rb" "test/unit/test_document.rb" "test/unit/test_embedded_document.rb" "test/unit/test_finder_options.rb" "test/unit/test_key.rb" "test/unit/test_mongo_id.rb" "test/unit/test_mongomapper.rb" "test/unit/test_observing.rb" "test/unit/test_pagination.rb" "test/unit/test_rails_compatibility.rb" "test/unit/test_serializations.rb" "test/unit/test_validations.rb" | |
* DEFERRED: setting a value should correctly typecast Dates. | |
Loaded suite /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader | |
Started | |
........................................................................................F....F................................................................................................................................................................................................F..........................................F.............................................................................. | |
Finished in 3.582225 seconds. | |
1) Failure: | |
test: Document Class Methods Finding documents with a single id should raise error if id is illegal. (DocumentTest) | |
[/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/matcher_builder.rb:38:in `fail!' | |
/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/expectation_builder.rb:6:in `build_expectation' | |
/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/modals.rb:12:in `should' | |
./test/functional/test_document.rb:205:in `__bind_1249398460_127052' | |
/opt/local/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `call' | |
/opt/local/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `test: Document Class Methods Finding documents with a single id should raise error if id is illegal. ' | |
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.4/lib/mocha/test_case_adapter.rb:69:in `__send__' | |
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.4/lib/mocha/test_case_adapter.rb:69:in `run']: | |
Expected #<Proc:0x0113869c@./test/functional/test_document.rb:205> to raise MongoMapper::IllegalID, but XGen::Mongo::Driver::IllegalObjectIdFormat was raised instead. | |
2) Failure: | |
test: Document Class Methods Indexing should allow creating index on multiple keys. (DocumentTest) | |
[/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/built_in/operator_expectations.rb:30:in `fail!' | |
/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/built_in/operator_expectations.rb:20:in `==' | |
./test/functional/test_document.rb:461:in `__bind_1249398460_154055' | |
/opt/local/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `call' | |
/opt/local/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `test: Document Class Methods Indexing should allow creating index on multiple keys. ' | |
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.4/lib/mocha/test_case_adapter.rb:69:in `__send__' | |
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.4/lib/mocha/test_case_adapter.rb:69:in `run']: | |
Expected "last_name_-1_first_name_1" to == "first_name_1_last_name_-1". | |
3) Failure: | |
test: ManyPolymorphicProxy should correctly store type when using <<, push and concat. (ManyPolymorphicProxyTest) | |
[/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/built_in/operator_expectations.rb:30:in `fail!' | |
/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/built_in/operator_expectations.rb:20:in `==' | |
./test/functional/associations/test_many_polymorphic_proxy.rb:51:in `__bind_1249398461_721466' | |
/opt/local/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `call' | |
/opt/local/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `test: ManyPolymorphicProxy should correctly store type when using <<, push and concat. ' | |
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.4/lib/mocha/test_case_adapter.rb:69:in `__send__' | |
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.4/lib/mocha/test_case_adapter.rb:69:in `run']: | |
Expected "Chat" to == "Exit". | |
4) Failure: | |
test: mm_typecast should raise MongoMapper::IllegalID if invalid id. (MongoIDTest) | |
[/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/matcher_builder.rb:38:in `fail!' | |
/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/expectation_builder.rb:6:in `build_expectation' | |
/opt/local/lib/ruby/gems/1.8/gems/jnunemaker-matchy-0.4.0/lib/matchy/modals.rb:12:in `should' | |
./test/unit/test_mongo_id.rb:24:in `__bind_1249398463_51589' | |
/opt/local/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `call' | |
/opt/local/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `test: mm_typecast should raise MongoMapper::IllegalID if invalid id. ' | |
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.4/lib/mocha/test_case_adapter.rb:69:in `__send__' | |
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.4/lib/mocha/test_case_adapter.rb:69:in `run']: | |
Expected #<Proc:0x005f73c8@./test/unit/test_mongo_id.rb:24> to raise MongoMapper::IllegalID, but XGen::Mongo::Driver::IllegalObjectIdFormat was raised instead. | |
408 tests, 235 assertions, 4 failures, 0 errors | |
rake aborted! | |
Command failed with status (1): [/opt/local/bin/ruby -I"lib:lib:test" "/opt...] | |
(See full trace by running task with --trace) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment