diff options
| author | Vojta Jina | 2011-05-19 17:38:23 +0200 |
|---|---|---|
| committer | Igor Minar | 2011-05-19 09:43:56 -0700 |
| commit | 805e083c243655bfaed3c5431dc0f402cb27fcb4 (patch) | |
| tree | 5b5c85e0429a13da3d3d73265926984dc0663800 /scenario | |
| parent | 1abdc097b235366759a889bdcc68359653a9b8a3 (diff) | |
| download | angular.js-805e083c243655bfaed3c5431dc0f402cb27fcb4.tar.bz2 | |
Remove trailing white spaces from all source files
find . -name "*.js" -print | xargs sed -Ei s/[[:space:]]*$//
Diffstat (limited to 'scenario')
| -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"}, - + ] }; |
