From de8d0984c85ae3078fd72a9c7f010b0fd4397150 Mon Sep 17 00:00:00 2001 From: Andres Ornelas Date: Fri, 6 Aug 2010 17:28:47 -0700 Subject: added repeater.collect to E2E DSL --- test/scenario/DSLSpec.js | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) (limited to 'test') diff --git a/test/scenario/DSLSpec.js b/test/scenario/DSLSpec.js index 47bedb80..64961e50 100644 --- a/test/scenario/DSLSpec.js +++ b/test/scenario/DSLSpec.js @@ -42,16 +42,41 @@ describe("DSL", function() { var repeater = angular.scenario.dsl.repeater; - it('should fetch the count of repeated elements', function() { + it('should count', function() { var future = repeater('.repeater-row').count(); expect(future.name).toEqual("repeater '.repeater-row' count"); - executeFuture(future, "
| John Marston | " + + "Red Dead Redemption | " + + "
| Nathan Drake | " + + "Uncharted 2 | " + + "