diff options
author | Rogan Creswick <creswick@gmail.com> | 2012-05-15 11:27:55 -0700 |
---|---|---|
committer | Rogan Creswick <creswick@gmail.com> | 2012-05-15 11:27:55 -0700 |
commit | 75c306329fae6c4c9ba39addc95b58671991bfc1 (patch) | |
tree | 1900b1525984b5e9e527a2493beb17e499bc1b6e /exampleData/ruleSets | |
parent | 3626fd6c06c45a413ec1f0f9141734613eeab1ef (diff) |
updated batch runner to read a json-formatted rule test description, increasing robustness and expressiveness of the test system
Diffstat (limited to 'exampleData/ruleSets')
-rw-r--r-- | exampleData/ruleSets/headingGuidelines.json | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/exampleData/ruleSets/headingGuidelines.json b/exampleData/ruleSets/headingGuidelines.json index 43ee1a4..be69fac 100644 --- a/exampleData/ruleSets/headingGuidelines.json +++ b/exampleData/ruleSets/headingGuidelines.json @@ -1,6 +1,7 @@ { "name": "Heading Guidelines" , "description": "Guidelines pertaining to the formatting and content of headings." -, "rules": [ { "name": "Headings are capitalized" +, "rules": [ { "id": 1 + , "name": "Headings are capitalized" , "description": "Check to see if all headings use leading capital letters." , "rule": function() { @@ -20,7 +21,8 @@ } }, - { "name": "Disallow Empty Headers" + { "id": 2 + , "name": "Disallow Empty Headers" , "description": "Heading elements should contain text." , "rule": function() { fiveui.query(':header').each( |