Ruby Testing

You can definitely write a test without having written the controller/model code. Obviously the test should at that point fail (if not your test is broken).
People sometimes call this test-first development. It does require that you think about what your model should be doing before having actually written it (which in my book is a good thing).