Iteration B2 Complete

Added tests for the model (as opposed to the controller)
Again, this is using MiniTest, rather than something like rspec.

Also created fixture for data, for the above.

Signed-off-by: Ippoippo <ippoippo_software@ippoippo.net>
Iteration_B2 : Playtime : Submit failing length unit test

Write the test first!!! (Shame this book is not TDD style).

Signed-off-by: Ippoippo <ippoippo_software@ippoippo.net>
Iteration_B2 : Playtime : Test correction, code refactor

Needed to fix test because the localised error message has a length variable that gets substituted in.

Then wrote the code to fix the test

Signed-off-by: Ippoippo <ippoippo_software@ippoippo.net>
Iteration_B2 : Playtime : Custom error message

Signed-off-by: Ippoippo <ippoippo_software@ippoippo.net>
Merge branch 'refs/heads/Iteration_B2'