diff options
Diffstat (limited to 'scenario/datastore-scenarios.js')
| -rw-r--r-- | scenario/datastore-scenarios.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scenario/datastore-scenarios.js b/scenario/datastore-scenarios.js index 6038070b..a844ac53 100644 --- a/scenario/datastore-scenarios.js +++ b/scenario/datastore-scenarios.js @@ -1,8 +1,8 @@ angular.scenarioDef.datastore = { $before:[ - {Given:"dataset", + {Given:"dataset", dataset:{ - Book:[{$id:'moby', name:"Moby Dick"}, + Book:[{$id:'moby', name:"Moby Dick"}, {$id:'gadsby', name:'Great Gadsby'}] } }, @@ -10,10 +10,10 @@ angular.scenarioDef.datastore = { ], checkLoadBook:[ {Then:"drainRequestQueue"}, - + {Then:"text", at:"{{book.$id}}", should_be:"moby"}, {Then:"text", at:"li[$index=0] {{book.name}}", should_be:"Great Gahdsby"}, {Then:"text", at:"li[$index=0] {{book.name}}", should_be:"Moby Dick"}, - + ] }; |
