From 805e083c243655bfaed3c5431dc0f402cb27fcb4 Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Thu, 19 May 2011 17:38:23 +0200 Subject: Remove trailing white spaces from all source files find . -name "*.js" -print | xargs sed -Ei s/[[:space:]]*$// --- scenario/datastore-scenarios.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scenario') 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"}, - + ] }; -- cgit v1.2.3