From a80e96cea184b392505f0a292785a5c66d45e165 Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Mon, 7 Oct 2013 19:29:10 +0100 Subject: [PATCH] fix(ngScenario): remove redundant assignment Closes #4315 --- src/ngScenario/dsl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ngScenario/dsl.js b/src/ngScenario/dsl.js index becd13a5fc2c..a70f9aa8f98c 100644 --- a/src/ngScenario/dsl.js +++ b/src/ngScenario/dsl.js @@ -440,7 +440,7 @@ angular.scenario.dsl('element', function() { var args = arguments, futureName = (args.length == 0) ? "element '" + this.label + "' " + methodName - : futureName = "element '" + this.label + "' set " + methodName + " to '" + value + "'"; + : "element '" + this.label + "' set " + methodName + " to '" + value + "'"; return this.addFutureAction(futureName, function($window, $document, done) { var element = $document.elements();