Skip to content

Commit

Permalink
Fix test es6 due to controllerAs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehdy Dara committed Apr 7, 2015
1 parent eba7a43 commit 49a49bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/src/app/main/_main.controller.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('controllers', function(){
}));

it('should define more than 5 awesome things', inject(function($controller) {
<% if (props.jsPreprocessor.key === 'none') { %>
<% if (props.jsPreprocessor.key === 'none' || props.jsPreprocessor.srcExtension === 'es6') { %>
var vm = $controller('MainController', {
$scope: scope
});
Expand Down

0 comments on commit 49a49bf

Please sign in to comment.