diff options
author | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-04-12 15:56:07 -0700 |
---|---|---|
committer | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-04-12 15:56:07 -0700 |
commit | 6de1f350ce117129e46353f12f90a138ca3d3ead (patch) | |
tree | 4d25ac9d653ea76a10f682cd0e8e3e7270a569a2 /doc/CONVENTIONS | |
parent | a0dc6900330b7ec78785a80fe8b72595384635a0 (diff) | |
download | rails-6de1f350ce117129e46353f12f90a138ca3d3ead.tar.gz rails-6de1f350ce117129e46353f12f90a138ca3d3ead.tar.bz2 rails-6de1f350ce117129e46353f12f90a138ca3d3ead.zip |
- string passthrough for joins
- blank checks
Diffstat (limited to 'doc/CONVENTIONS')
-rw-r--r-- | doc/CONVENTIONS | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/CONVENTIONS b/doc/CONVENTIONS index 0d7c1b4ef0..c415a527e1 100644 --- a/doc/CONVENTIONS +++ b/doc/CONVENTIONS @@ -11,7 +11,7 @@ This file should ultimately be replaced by a series of tests, something like a l - 'obtains' is preferred to 'returns true' - 'manufactures' - in tests - - when manufacturing expected values (right-hand-side of should), avoid convenience methods -- construct it by initializing the object directly (Foo.new(...)). This ensures equality expectations in tests is rigorous. + - when manufacturing expected values (right-hand-side of should), avoid convenience methods -- construct it by initializing the object directly (Foo.new(...)). This ensures equality expectations in tests are rigorous. - the SUT should be manufactured inline inside the test, not in a before - dependencies for the SUT should be manufactured using convenience methods (or whatever is most terse). - group conceptually related methods in a class within an inline module; immediately include that module.
\ No newline at end of file |