Skip to content

Commit acf8783

Browse files
committed
Make "format" the official classification interface
1 parent 126a877 commit acf8783

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

doc/rails.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -839,14 +839,15 @@ be checked into version control. Example:
839839
},
840840
"classifications": {
841841
"service": {
842-
"prefix": "app/services/",
843-
"suffix": "_service.rb",
842+
"format": "app/services/%s_service.rb",
844843
"template": "class %SService < AbstractService\nend",
845844
"alternate": "test/functional/%s_service_test.rb"
846845
},
847846
"fabricator": {
848-
"prefix": ["test/fabricators/", "spec/fabricators/"],
849-
"suffix": "_fabricator.rb",
847+
"format": [
848+
"test/fabricators/%s_fabricator.rb",
849+
"spec/fabricators/%s_fabricator.rb"
850+
],
850851
"affinity": "model",
851852
"template": "Fabricator :%s do\nend"
852853
}

0 commit comments

Comments
 (0)