Closed Meowcenary closed 1 year ago
I've tested this out in the terminal and it's working as expected. I was going to add some specific specs for this, but mocking out the "sizes" method was proving to be a pain because we assign the file as an instance variable. We could refactor the size method to take page_count as an argument and then testing would be easy, but it's such a small change that it just seems unnecessary given the other tasks we have to get done still.
Singularize "pages" to "page" for the metadata field size when there is just one page. closes #1136