Skip to content

Instantly share code, notes, and snippets.

@chanks
Created January 30, 2011 23:51
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 chanks/803439 to your computer and use it in GitHub Desktop.
Save chanks/803439 to your computer and use it in GitHub Desktop.
Spec failures on mongoid f2ddfdd (2.0.0.rc.7)
Pending:
Mongoid::Relations::Builders::Referenced::ManyToMany#build Github 246: Should return documents in same order as ids
# Not Yet Implemented
# ./spec/functional/mongoid/relations/builders/referenced/many_to_many_spec.rb:32
Mongoid::Persistence::Update#persist when the document is changed when the document is a tree
# Not Yet Implemented
# ./spec/unit/mongoid/persistence/update_spec.rb:155
Failures:
1) Mongoid::Persistence#delete when removing a root document deletes the document from the collection
Failure/Error: expect {
expected Exception but nothing was raised
# ./spec/functional/mongoid/persistence_spec.rb:127:in `block (5 levels) in <top (required)>'
2) Mongoid::Persistence#destroy when removing a root document deletes the document from the collection
Failure/Error: expect {
expected Exception but nothing was raised
# ./spec/functional/mongoid/persistence_spec.rb:127:in `block (5 levels) in <top (required)>'
3) Mongoid::Finders#find when using string ids with an id as an argument when the document is not found raises an error
Failure/Error: expect {
expected Mongoid::Errors::DocumentNotFound but nothing was raised
# ./spec/functional/mongoid/finders_spec.rb:43:in `block (6 levels) in <top (required)>'
4) Mongoid::Finders#find when using string ids when passed an array of ids when no documents found raises an error
Failure/Error: expect {
expected Mongoid::Errors::DocumentNotFound but nothing was raised
# ./spec/functional/mongoid/finders_spec.rb:66:in `block (6 levels) in <top (required)>'
5) Mongoid::Finders#find when using object ids when passed a BSON::ObjectId as an argument when the document is not found raises an error
Failure/Error: expect {
expected Mongoid::Errors::DocumentNotFound but nothing was raised
# ./spec/functional/mongoid/finders_spec.rb:115:in `block (6 levels) in <top (required)>'
6) Mongoid::Finders#find when using object ids when passed a string id as an argument when the document is not found raises an error
Failure/Error: expect {
expected Mongoid::Errors::DocumentNotFound but nothing was raised
# ./spec/functional/mongoid/finders_spec.rb:134:in `block (6 levels) in <top (required)>'
7) Mongoid::Finders#find when using object ids when passed an array of ids as args when no documents found raises an error
Failure/Error: expect {
expected Mongoid::Errors::DocumentNotFound but nothing was raised
# ./spec/functional/mongoid/finders_spec.rb:157:in `block (6 levels) in <top (required)>'
8) Mongoid::Config.add_language when adding a language adds the language
Failure/Error: "ist bereits vergeben"
expected: "ist bereits vergeben"
got: "translation missing: de.mongoid.errors.messages.taken" (using ==)
# ./spec/functional/mongoid/config_spec.rb:54:in `block (4 levels) in <top (required)>'
Finished in 26.9 seconds
3609 examples, 8 failures, 2 pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment