@@ -84,7 +84,6 @@ describe("cloudinary", function () {
84
84
it ( 'should add if (condition) to the result URL' , function ( ) {
85
85
// Compile a piece of HTML containing the directive
86
86
var element = $compile ( "<div><cl-image public_id='foobar' if='w_gt_200' width='100' crop='scale'/></div>" ) ( $rootScope ) ;
87
- // fire all the watches, so the scope expression {{1 + 1}} will be evaluated
88
87
$rootScope . $digest ( ) ;
89
88
90
89
// Check that the compiled element contains the templated content
@@ -94,7 +93,6 @@ describe("cloudinary", function () {
94
93
it ( 'should add if (condition) to the result URL' , function ( ) {
95
94
// Compile a piece of HTML containing the directive
96
95
var element = $compile ( "<div><cl-image public_id='foobar'><cl-transformation if='w_gt_200' width='100' crop='scale'/></cl-image></div>" ) ( $rootScope ) ;
97
- // fire all the watches, so the scope expression {{1 + 1}} will be evaluated
98
96
$rootScope . $digest ( ) ;
99
97
100
98
// Check that the compiled element contains the templated content
@@ -110,7 +108,6 @@ describe("cloudinary", function () {
110
108
"<cl-transformation height='100' crop='fill'/>" +
111
109
"<cl-transformation if='end'/>" +
112
110
"</cl-image></div>" ) ( $rootScope ) ;
113
- // fire all the watches, so the scope expression {{1 + 1}} will be evaluated
114
111
$rootScope . $digest ( ) ;
115
112
116
113
// Check that the compiled element contains the templated content
@@ -129,7 +126,6 @@ describe("cloudinary", function () {
129
126
"<cl-transformation height='200' crop='fit'/>" +
130
127
"<cl-transformation if='end'/>" +
131
128
"</cl-image></div>" ) ( $rootScope ) ;
132
- // fire all the watches, so the scope expression {{1 + 1}} will be evaluated
133
129
$rootScope . $digest ( ) ;
134
130
135
131
// Check that the compiled element contains the templated content
0 commit comments