Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit a80e96c

Browse files
fix(ngScenario): remove redundant assignment
Closes #4315
1 parent 670cd9c commit a80e96c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngScenario/dsl.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ angular.scenario.dsl('element', function() {
440440
var args = arguments,
441441
futureName = (args.length == 0)
442442
? "element '" + this.label + "' " + methodName
443-
: futureName = "element '" + this.label + "' set " + methodName + " to '" + value + "'";
443+
: "element '" + this.label + "' set " + methodName + " to '" + value + "'";
444444

445445
return this.addFutureAction(futureName, function($window, $document, done) {
446446
var element = $document.elements();

0 commit comments

Comments
 (0)