diff options
author | Gaurav Sharma <gaurav2728@gmail.com> | 2015-12-13 11:51:44 +0530 |
---|---|---|
committer | Gaurav Sharma <gaurav2728@gmail.com> | 2015-12-13 11:55:45 +0530 |
commit | bd3fc6d4742056d3858a9bc35a86386d62ede15d (patch) | |
tree | 0bffbdd02f4f6eee21859c5b7721e7768c8278e9 /railties | |
parent | 762f7daf55a91d2a20bedb4906c9dd04e031d74e (diff) | |
download | rails-bd3fc6d4742056d3858a9bc35a86386d62ede15d.tar.gz rails-bd3fc6d4742056d3858a9bc35a86386d62ede15d.tar.bz2 rails-bd3fc6d4742056d3858a9bc35a86386d62ede15d.zip |
remove extra spaces in fixtures doc part
```
Every time when a fixture generate, it’s also generating improper doc.
one: {}
# column: value
#
two: {}
# column: value
```
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/test_unit/model/templates/fixtures.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/test_unit/model/templates/fixtures.yml b/railties/lib/rails/generators/test_unit/model/templates/fixtures.yml index 50ca61a35b..2656767eb4 100644 --- a/railties/lib/rails/generators/test_unit/model/templates/fixtures.yml +++ b/railties/lib/rails/generators/test_unit/model/templates/fixtures.yml @@ -17,7 +17,7 @@ <% end -%> <% else -%> -# This model initially had no columns defined. If you add columns to the +# This model initially had no columns defined. If you add columns to the # model remove the '{}' from the fixture names and add the columns immediately # below each fixture, per the syntax in the comments below # @@ -25,5 +25,5 @@ one: {} # column: value # two: {} -# column: value +# column: value <% end -%> |