fix(ngScenario): remove redundant assignment

Closes #4315
This commit is contained in:
Pete Bacon Darwin 2013-10-07 19:29:10 +01:00
parent 670cd9c165
commit a80e96cea1

View file

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