-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: Tests
In MONGOID-5344 the return value of #attributes changed from BSON::Document to Hash for model instances that were returned from .find methods. This is a breaking change but was not caught by the test suite.
We should add test coverage for the type of return value of #attributes for
models just created (Model.new)
models found from the database (Model.find)
- has to be finished together with
-
MONGOID-5365 Change #attributes return value to Hash with a flag
- Closed
- related to
-
MONGOID-5344 Using concat on has_and_belongs_to_many ids default value is not working the first time
- Closed