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

Commit

Permalink
fix(ngScenario): remove redundant assignment
Browse files Browse the repository at this point in the history
Closes #4315
  • Loading branch information
petebacondarwin committed Oct 7, 2013
1 parent 670cd9c commit a80e96c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ngScenario/dsl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit a80e96c

Please sign in to comment.