Eficode/rails-int-hh — pull request #10 by andytolamo (2012-04-10 11:51:00+00:00)
Title: Session 2

Noticed that one unit test was defunct. There is no point doing any validations on status checks. This is because the model automatically assigns before validation status 'reserved' to all objects. Way it seems to work is that the reserved is written after shoulda test begins because changing 'free' to 'free2' has no effect. Removing the automatic reservation makes the test fail with invalid values as it should.

However had some slight problem with getting the session to work. So I did all the exercises but couldn't check the whole site working as its broken for some reason when I try to log in for.

Should be about right.