You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@climate.apache.org by jo...@apache.org on 2013/06/24 15:30:55 UTC
svn commit: r1496041 -
/incubator/climate/trunk/rcmet/src/main/ui/test/unit/services/SelectedDatasetInfomationTest.js
Author: joyce
Date: Mon Jun 24 13:30:55 2013
New Revision: 1496041
URL: http://svn.apache.org/r1496041
Log:
CLIMATE-148 progress - Add getDatasetCount test
Modified:
incubator/climate/trunk/rcmet/src/main/ui/test/unit/services/SelectedDatasetInfomationTest.js
Modified: incubator/climate/trunk/rcmet/src/main/ui/test/unit/services/SelectedDatasetInfomationTest.js
URL: http://svn.apache.org/viewvc/incubator/climate/trunk/rcmet/src/main/ui/test/unit/services/SelectedDatasetInfomationTest.js?rev=1496041&r1=1496040&r2=1496041&view=diff
==============================================================================
--- incubator/climate/trunk/rcmet/src/main/ui/test/unit/services/SelectedDatasetInfomationTest.js (original)
+++ incubator/climate/trunk/rcmet/src/main/ui/test/unit/services/SelectedDatasetInfomationTest.js Mon Jun 24 13:30:55 2013
@@ -36,6 +36,12 @@ describe('OCW Services', function() {
expect(selectedDatasetInformation.getDatasets()).not.toEqual(null);
});
});
+
+ it('should provide the getDatasetCount function', function() {
+ inject(function(selectedDatasetInformation) {
+ expect(selectedDatasetInformation.getDatasetCount()).toEqual(0);
+ });
+ });
});
});