@@ -2019,7 +2019,6 @@ describe('directive', function() {
2019
2019
]
2020
2020
}
2021
2021
}
2022
- */
2023
2022
2024
2023
fields.forEach(function (field) {
2025
2024
it('should not add "has-success" class to ' + field.name + " field if a correct value is entered, but disableSuccessState is set on form", function () {
@@ -2268,6 +2267,7 @@ describe('directive', function() {
2268
2267
tmpl.children().eq(0).children().eq(0).hasClass('has-error').should.be.false;
2269
2268
});
2270
2269
});
2270
+ */
2271
2271
2272
2272
describe ( 'destroy strategy' , function ( ) {
2273
2273
var schema = {
@@ -2578,7 +2578,7 @@ describe('directive', function() {
2578
2578
2579
2579
} ) ;
2580
2580
} ) ;
2581
-
2581
+
2582
2582
it ( 'should remove or add fields in an array depending on conditions using arrayIndices' , function ( done ) {
2583
2583
2584
2584
inject ( function ( $compile , $rootScope ) {
@@ -2687,7 +2687,7 @@ describe('directive', function() {
2687
2687
entryDate : { type : "string" } ,
2688
2688
entryNote : { type : "string" }
2689
2689
}
2690
- }
2690
+ }
2691
2691
}
2692
2692
}
2693
2693
}
@@ -2746,7 +2746,7 @@ describe('directive', function() {
2746
2746
condition : "model.transportCategory[arrayIndices[0]].transportOption[arrayIndices[1]].history.previousOwners[arrayIndices[2]].logBookEntry[arrayIndices[3]].entryDate.length > 2"
2747
2747
}
2748
2748
]
2749
- }
2749
+ }
2750
2750
]
2751
2751
}
2752
2752
]
@@ -2789,7 +2789,7 @@ describe('directive', function() {
2789
2789
{ node : renderedForm . transportCategory [ 0 ] . transportOption [ 1 ] . node . children ( ) . eq ( 5 ) . children ( ) . eq ( 1 ) }
2790
2790
]
2791
2791
} ;
2792
-
2792
+
2793
2793
renderedForm . transportCategory [ 0 ] . transportOption [ 1 ] . history . previousOwners [ 1 ] [ 'logBookEntry' ] = [
2794
2794
{ node : renderedForm . transportCategory [ 0 ] . transportOption [ 1 ] . history . previousOwners [ 1 ] . node . children ( ) . eq ( 1 ) . children ( ) . eq ( 4 ) . children ( ) . eq ( 1 ) . children ( ) . eq ( 0 ) } ,
2795
2795
{ node : renderedForm . transportCategory [ 0 ] . transportOption [ 1 ] . history . previousOwners [ 1 ] . node . children ( ) . eq ( 1 ) . children ( ) . eq ( 4 ) . children ( ) . eq ( 1 ) . children ( ) . eq ( 1 ) }
@@ -2837,7 +2837,7 @@ describe('directive', function() {
2837
2837
/*** transportCategory[].transportOption[].history.previousOwners[].logBookEntry[].entryNote field condition tests ***/
2838
2838
renderedForm . transportCategory [ 0 ] . transportOption [ 1 ] . history . previousOwners [ 1 ] . logBookEntry [ 0 ] . node . find ( 'input[name="entryNote"]' ) . length . should . be . eq ( 1 ) ;
2839
2839
renderedForm . transportCategory [ 0 ] . transportOption [ 1 ] . history . previousOwners [ 1 ] . logBookEntry [ 1 ] . node . find ( 'input[name="entryNote"]' ) . length . should . be . eq ( 0 ) ;
2840
-
2840
+
2841
2841
done ( ) ;
2842
2842
} ) ;
2843
2843
} ) ;
0 commit comments