diff options
Diffstat (limited to 'src/ngScenario/SpecRunner.js')
| -rw-r--r-- | src/ngScenario/SpecRunner.js | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ngScenario/SpecRunner.js b/src/ngScenario/SpecRunner.js index f4b9b0a7..23cc1dc7 100644 --- a/src/ngScenario/SpecRunner.js +++ b/src/ngScenario/SpecRunner.js @@ -119,7 +119,9 @@ angular.scenario.SpecRunner.prototype.addFutureAction = function(name, behavior,          });          var result = $document.find(selector);          if (selector.match(NG)) { -          result = result.add(selector.replace(NG, '[ng-'), $document); +          angular.forEach(['[ng-','[data-ng-','[x-ng-'], function(value, index){ +            result = result.add(selector.replace(NG, value), $document); +          });          }          if (!result.length) {            throw {  | 
