ga-wdi-boston/wdi_6_js_hw_jasmine_people — pull request #7 by kvotolato3 (2014-05-29 03:22:13+00:00)
Title: Partial Jasmine people homework assignment

This was a fun assignment. I spent the first hour reading through the recommended Mozilla article on Object-Oriented JavaScript (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Introduction_to_Object-Oriented_JavaScript#The_Class), which was extremely helpful. I ended up making a great cheatsheet out of it, which I then used on the homework.

Although I spent some time refactoring, I do suspect my Jasmine specs could be more DRY. Once I started writing the specs for the methods, I realized the "setup" for each one of my initialized properties (in the constructor function) would have been the perfect setup for each one of the corresponding functions. But I didn't want to mix the function tests in with the initializer tests just to make optimal use of the "setup". I tried not to focus on that too much, but the thought was rolling around in my head the whole time, so I'd be happy to hear any advice you may have on it.