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:53 UTC
svn commit: r1496040 -
/incubator/climate/trunk/rcmet/src/main/ui/test/unit/services/SelectedDatasetInfomationTest.js
Author: joyce
Date: Mon Jun 24 13:30:52 2013
New Revision: 1496040
URL: http://svn.apache.org/r1496040
Log:
CLIMATE-148 progress - Add getDatasets 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=1496040&r1=1496039&r2=1496040&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:52 2013
@@ -30,6 +30,12 @@ describe('OCW Services', function() {
expect(selectedDatasetInformation).not.toEqual(null);
});
});
+
+ it('should provide the getDatasets function', function() {
+ inject(function(selectedDatasetInformation) {
+ expect(selectedDatasetInformation.getDatasets()).not.toEqual(null);
+ });
+ });
});
});