NUBIC/surveyor — comment on commit 0f7bebff43e79bf4e64e51636ae529659b0ded87
File: spec/helpers/surveyor_helper_spec.rb line 68
By rsutphin:

Why use mocks here? It seems like it would be just as easy to use an actual HAML fragment and test that it was rendered correctly. That approach would ensure that your tests will fail if the Haml API or behavior changes in the future.