climate-commits mailing list archives

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

URL: http://svn.apache.org/r1496034
Log:
Resolved CLIMATE-146 - Add tests for EvaluationSettings service

- Add getSettings test.

Modified:
    incubator/climate/trunk/rcmet/src/main/ui/test/unit/services/EvaluationSettingsService.js

Modified: incubator/climate/trunk/rcmet/src/main/ui/test/unit/services/EvaluationSettingsService.js
URL: http://svn.apache.org/viewvc/incubator/climate/trunk/rcmet/src/main/ui/test/unit/services/EvaluationSettingsService.js?rev=1496034&r1=1496033&r2=1496034&view=diff
==============================================================================
--- incubator/climate/trunk/rcmet/src/main/ui/test/unit/services/EvaluationSettingsService.js
(original)
+++ incubator/climate/trunk/rcmet/src/main/ui/test/unit/services/EvaluationSettingsService.js
Mon Jun 24 13:30:39 2013
@@ -30,5 +30,11 @@ describe('OCW Services', function() {
 				expect(evaluationSettings).not.toEqual(null);
 			});
 		});
+
+		it('should provide a getSettings function', function() {
+			inject(function(evaluationSettings) {
+				expect(evaluationSettings.getSettings()).not.toEqual(null);
+			})
+		})
 	});
 });



Mime
View raw message