Explorar o código

Update example savefile for acceptance testing.

Sam Jaffe %!s(int64=5) %!d(string=hai) anos
pai
achega
721d49b0fa
Modificáronse 1 ficheiros con 71 adicións e 69 borrados
  1. 71 69
      src/test/resources/example.json

+ 71 - 69
src/test/resources/example.json

@@ -18,40 +18,41 @@
             }
           },
           "cooking": [
-          	{
-          		"ingredients": [
-          			{
-          				"name": "oil",
-          				"amount": "1 Tbsp"
-          			}
-          		],
-	            "duration": {
-	              "displayAs": "SECONDS",
-	              "approximate": true,
-	              "minSeconds": 30,
-	              "maxSeconds": 60
-	            },
-          		"instruction": "Heat oil over high heat"
-          	},
-          	{
-          		"ingredients": [
-          			{
-          				"name": "onion",
-          				"preparation": "chopped",
-          				"amount": "100 g"
-          			}
-          		],
-	            "duration": {
-	              "displayAs": "MINUTES",
-	              "approximate": true,
-	              "minSeconds": 300,
-	              "maxSeconds": 900
-	            },
-          		"instruction": "Sauté the onions until soft and translucent, stirring to prevent burning"
-          	}
+            {
+              "ingredients": [
+                {
+                  "name": "oil",
+                  "preparation": "",
+                  "amount": "1 Tbsp"
+                }
+              ],
+              "duration": {
+                "displayAs": "SECONDS",
+                "approximate": true,
+                "minSeconds": 30,
+                "maxSeconds": 60
+              },
+              "instruction": "Heat oil over high heat"
+            },
+            {
+              "ingredients": [
+                {
+                  "name": "onion",
+                  "preparation": "chopped",
+                  "amount": "100 g"
+                }
+              ],
+              "duration": {
+                "displayAs": "MINUTES",
+                "approximate": true,
+                "minSeconds": 300,
+                "maxSeconds": 900
+              },
+              "instruction": "Sauté the onions until soft and translucent, stirring to prevent burning"
+            }
           ],
           "rest": {
-          	"where": "ROOM_TEMPERATURE",
+            "where": "ROOM_TEMPERATURE",
             "duration": {
               "displayAs": "SECONDS",
               "approximate": false,
@@ -61,44 +62,45 @@
           }
         },
         {
-        	"id": 1,
-        	"dependsOn": [],
-        	"vessel": "",
-        	"cooking": [
-           	{
-          		"ingredients": [
-          			{
-          				"name": "oil",
-          				"amount": "1 Tbsp"
-          			}
-          		],
-	            "duration": {
-	              "displayAs": "SECONDS",
-	              "approximate": true,
-	              "minSeconds": 30,
-	              "maxSeconds": 60
-	            },
-          		"instruction": "Heat oil over high heat"
-          	},
-        		{
-        			"ingredients": [
-          			{
-          				"name": "onion",
-          				"preparation": "sliced",
-          				"amount": "100 g"
-          			}
-          		],
-	            "duration": {
-	              "displayAs": "MINUTES",
-	              "approximate": true,
-	              "minSeconds": 300,
-	              "maxSeconds": 900
-	            },
-          		"instruction": "Sauté the onions until soft and translucent, stirring to prevent burning"
-        		}
-        	]
+          "id": 1,
+          "dependsOn": [],
+          "vessel": "",
+          "cooking": [
+            {
+              "ingredients": [
+                {
+                  "name": "oil",
+                  "preparation": "",
+                  "amount": "1 Tbsp"
+                }
+              ],
+              "duration": {
+                "displayAs": "SECONDS",
+                "approximate": true,
+                "minSeconds": 30,
+                "maxSeconds": 60
+              },
+              "instruction": "Heat oil over high heat"
+            },
+            {
+              "ingredients": [
+                {
+                  "name": "onion",
+                  "preparation": "sliced",
+                  "amount": "100 g"
+                }
+              ],
+              "duration": {
+                "displayAs": "MINUTES",
+                "approximate": true,
+                "minSeconds": 300,
+                "maxSeconds": 900
+              },
+              "instruction": "Sauté the onions until soft and translucent, stirring to prevent burning"
+            }
+          ]
         }
       ]
     }
   ]
-}
+}