A quick note regarding my set up:
- I started this so I could really dig into Backbone Models and (maybe) Collections
- Using Jasmine 1.2.0 for my testing framework
- I had changed the test for "should not allow for me to create a character without a name" to just check the isValid() attribute to get by the issue there, but when I ran into it again with Alignment, it bothered me enough to attempt to fix
- Yes, this IS the Evercraft Kata in Backbone... At least, where I've made it to before running into the problem.
Note, you could write your own version of a Backbone.Model using Backbone.Model.extend and override the initialize function such that it does what you want. But I think it's easier to bend your way of thinking to the workflow Backbone anticipates and code accordingly :)