Closed fredericboivin closed 8 years ago
@dangerdogz If you want, pull the first commit in a separate PR and we can run transpec on all the specs and merge that separately while you are working on the weight refactor/specs.
Won't be used since we went another way but I documented some bugs in there so leaving it around until I can fix them for sure (related to issue #28 )
The weight limit spec and the associated methods contains a lot of code who looks unreachable or that we're not sure why or how it works (or even if we need it)
The plan would be to remove, refactor or extract some of those parts but they are virtually untested so I've begun adding unit tests for each individual methods.
This is a work in progress, comments and suggestions are very welcome.
I also used transpec to update the syntax.