You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added 2 test cases to the 'Default date" describe block:
it("the ngModel value can be set to some time inside the default month",function(){$scope.defaultDate='2014-11-10';$scope.date='2014-11-01';compile();expect($scope.date).to.equal('2014-11-01');});// passit("the ngModel value can be set to some time outside the default month",function(){$scope.defaultDate='2014-11-10';$scope.date='2014-03-01';compile();expect($scope.date).to.equal('2014-03-01');});// AssertionError: expected undefined to equal '2014-03-01'
The first case passes, the second case fails. Is that the intended behavior?
In our app, we set the default date to next month, but once we did that users were unable to choose dates in this month or 2 months from now. Halp?
The text was updated successfully, but these errors were encountered:
In the 2nd test, $scope.date should be 2014-03-01 and the displayed month should be November 2014. If that is not happening, then apparently we have a bug.
I added 2 test cases to the 'Default date" describe block:
The first case passes, the second case fails. Is that the intended behavior?
In our app, we set the default date to next month, but once we did that users were unable to choose dates in this month or 2 months from now. Halp?
The text was updated successfully, but these errors were encountered: