diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-08-20 08:18:03 +0100 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-08-20 08:18:03 +0100 |
commit | ba97fffe11b02275a9b3619716744dca7fe9580b (patch) | |
tree | 836daa2e60c5e3019f82276f7582546b862416d9 /app/controllers/help_controller.rb | |
parent | 99457f15722b3326ba11ecb3003c3dd50b70a9c4 (diff) |
Fix another test
Is there actually any point in tests of this sort? It is not testing
that anything works as intended, only that a particular SQL string is
passed to the database -- and surely the only way that string could
have been discovered for test purposes was essentially to copy it
from the code under test.
It seems to me that the only real function of a test of this sort
is to make it more difficult to modify the code under test.
Diffstat (limited to 'app/controllers/help_controller.rb')
0 files changed, 0 insertions, 0 deletions