climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r1496044 - /incubator/climate/trunk/rcmet/src/main/ui/test/unit/services/SelectedDatasetInfomationTest.js
Date Mon, 24 Jun 2013 13:31:03 GMT
Author: joyce
Date: Mon Jun 24 13:31:03 2013
New Revision: 1496044

URL: http://svn.apache.org/r1496044
Log:
CLIMATE-148 progress - Add regrid parameter 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=1496044&r1=1496043&r2=1496044&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:31:03 2013
@@ -56,6 +56,13 @@ describe('OCW Services', function() {
 				expect(selectedDatasetInformation.getDatasets()[0].shouldDisplay).toBe(true);
 			});
 		});
+
+		it('should set the regrid attribute when adding a dataset', function() {
+			inject(function(selectedDatasetInformation) {
+				selectedDatasetInformation.addDataset({});
+				expect(selectedDatasetInformation.getDatasets()[0].regrid).toBe(false);
+			});
+		});
 	});
 });
 



Mime
View raw message