adds more spec cases
This commit is contained in:
parent
3caef41082
commit
cea7a78f33
125 changed files with 2275 additions and 1 deletions
23
spec/support/cases/h-product-2.js
Normal file
23
spec/support/cases/h-product-2.js
Normal file
|
@ -0,0 +1,23 @@
|
|||
// http://microformat2-node.jit.su/h-product.html
|
||||
|
||||
{
|
||||
"items": [{
|
||||
"type": ["h-product"],
|
||||
"properties": {
|
||||
"name": ["Raspberry Pi"],
|
||||
"photo": ["http://upload.wikimedia.org/wikipedia/commons/thumb/3/3d/RaspberryPi.jpg/320px-RaspberryPi.jpg"],
|
||||
"description": ["The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. It’s a capable little PC which can be used for many of the things that your desktop PC does, like spreadsheets, word-processing and games. It also plays high-definition video. We want to see it being used by kids all over the world to learn programming."],
|
||||
"url": ["http://www.raspberrypi.org/"],
|
||||
"price": ["£29.95"],
|
||||
"category": ["Computer","Education"],
|
||||
"review": [{
|
||||
"value": "4.5 out of 5",
|
||||
"type": ["h-review"],
|
||||
"properties": {
|
||||
"rating": ["4.5"],
|
||||
"name": ["4.5 out of 5"]
|
||||
}
|
||||
}]
|
||||
}
|
||||
}]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue