Public Collection https://github.com/samvera/hyrax/blob/master/spec/features/collection_spec.rb
Test case code | What are we testing | Comments & questions |
---|---|---|
https://github.com/samvera/hyrax/blob/master/spec/features/collection_spec.rb#L21-L38 | Basic page content | |
https://github.com/samvera/hyrax/blob/master/spec/features/collection_spec.rb#L40-L55 | Behavior during search | |
https://github.com/samvera/hyrax/blob/master/spec/features/collection_spec.rb#L57-L66 | Unclear | The intent of this test case is unclear. It appears that this is intended to test that the subcollection list in't included when a collection is not nestable. However, it only tests for basic content, and doesn't test that subcollection content is NOT there, so the test is basically worthless. |
https://github.com/samvera/hyrax/blob/master/spec/features/collection_spec.rb#L71-L91 | Pagination of works | Should feature tests really do this sort of test? Would it not be better done as part of a view spec? |
https://github.com/samvera/hyrax/blob/master/spec/features/collection_spec.rb#L93-L113 | Pagination of subcollections | Same comments as re: pagination of works |
Dashboard Collection
Test case code | What are we testing | Comments & questions |
---|---|---|