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();