climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject [15/19] git commit: Remove placeholder directive tests
Date Tue, 05 Aug 2014 17:32:13 GMT
Remove placeholder directive tests


Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/af34aaaa
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/af34aaaa
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/af34aaaa

Branch: refs/heads/master
Commit: af34aaaa067d3cde7f7821a498fc1f026cf91aa5
Parents: 0f82430
Author: Michael Joyce <joyce@apache.org>
Authored: Fri Aug 1 13:44:02 2014 -0700
Committer: Michael Joyce <joyce@apache.org>
Committed: Mon Aug 4 15:01:02 2014 -0700

----------------------------------------------------------------------
 ocw-ui/frontend-new/test/spec/directives/bootstrapmodal.js     | 6 ------
 ocw-ui/frontend-new/test/spec/directives/bootstrapmodalopen.js | 6 ------
 ocw-ui/frontend-new/test/spec/directives/leafletmap.js         | 6 ------
 .../test/spec/directives/predictivefilebrowserinput.js         | 6 ------
 ocw-ui/frontend-new/test/spec/directives/timeline.js           | 6 ------
 5 files changed, 30 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/climate/blob/af34aaaa/ocw-ui/frontend-new/test/spec/directives/bootstrapmodal.js
----------------------------------------------------------------------
diff --git a/ocw-ui/frontend-new/test/spec/directives/bootstrapmodal.js b/ocw-ui/frontend-new/test/spec/directives/bootstrapmodal.js
index 2e4150e..465f65e 100644
--- a/ocw-ui/frontend-new/test/spec/directives/bootstrapmodal.js
+++ b/ocw-ui/frontend-new/test/spec/directives/bootstrapmodal.js
@@ -30,10 +30,4 @@ describe('Directive: bootstrapModal', function () {
   beforeEach(inject(function ($rootScope) {
     scope = $rootScope.$new();
   }));
-
-  it('should make hidden element visible', inject(function ($compile) {
-    element = angular.element('<bootstrap-modal></bootstrap-modal>');
-    element = $compile(element)(scope);
-    expect(element.text()).toBe('this is the bootstrapModal directive');
-  }));
 });

http://git-wip-us.apache.org/repos/asf/climate/blob/af34aaaa/ocw-ui/frontend-new/test/spec/directives/bootstrapmodalopen.js
----------------------------------------------------------------------
diff --git a/ocw-ui/frontend-new/test/spec/directives/bootstrapmodalopen.js b/ocw-ui/frontend-new/test/spec/directives/bootstrapmodalopen.js
index 3cd2c4c..699210c 100644
--- a/ocw-ui/frontend-new/test/spec/directives/bootstrapmodalopen.js
+++ b/ocw-ui/frontend-new/test/spec/directives/bootstrapmodalopen.js
@@ -30,10 +30,4 @@ describe('Directive: bootstrapModalOpen', function () {
   beforeEach(inject(function ($rootScope) {
     scope = $rootScope.$new();
   }));
-
-  it('should make hidden element visible', inject(function ($compile) {
-    element = angular.element('<bootstrap-modal-open></bootstrap-modal-open>');
-    element = $compile(element)(scope);
-    expect(element.text()).toBe('this is the bootstrapModalOpen directive');
-  }));
 });

http://git-wip-us.apache.org/repos/asf/climate/blob/af34aaaa/ocw-ui/frontend-new/test/spec/directives/leafletmap.js
----------------------------------------------------------------------
diff --git a/ocw-ui/frontend-new/test/spec/directives/leafletmap.js b/ocw-ui/frontend-new/test/spec/directives/leafletmap.js
index c722ce6..85ccc6d 100644
--- a/ocw-ui/frontend-new/test/spec/directives/leafletmap.js
+++ b/ocw-ui/frontend-new/test/spec/directives/leafletmap.js
@@ -30,10 +30,4 @@ describe('Directive: leafletMap', function () {
   beforeEach(inject(function ($rootScope) {
     scope = $rootScope.$new();
   }));
-
-  it('should make hidden element visible', inject(function ($compile) {
-    element = angular.element('<leaflet-map></leaflet-map>');
-    element = $compile(element)(scope);
-    expect(element.text()).toBe('this is the leafletMap directive');
-  }));
 });

http://git-wip-us.apache.org/repos/asf/climate/blob/af34aaaa/ocw-ui/frontend-new/test/spec/directives/predictivefilebrowserinput.js
----------------------------------------------------------------------
diff --git a/ocw-ui/frontend-new/test/spec/directives/predictivefilebrowserinput.js b/ocw-ui/frontend-new/test/spec/directives/predictivefilebrowserinput.js
index 4661e96..162b361 100644
--- a/ocw-ui/frontend-new/test/spec/directives/predictivefilebrowserinput.js
+++ b/ocw-ui/frontend-new/test/spec/directives/predictivefilebrowserinput.js
@@ -30,10 +30,4 @@ describe('Directive: predictiveFileBrowserInput', function () {
   beforeEach(inject(function ($rootScope) {
     scope = $rootScope.$new();
   }));
-
-  it('should make hidden element visible', inject(function ($compile) {
-    element = angular.element('<predictive-file-browser-input></predictive-file-browser-input>');
-    element = $compile(element)(scope);
-    expect(element.text()).toBe('this is the predictiveFileBrowserInput directive');
-  }));
 });

http://git-wip-us.apache.org/repos/asf/climate/blob/af34aaaa/ocw-ui/frontend-new/test/spec/directives/timeline.js
----------------------------------------------------------------------
diff --git a/ocw-ui/frontend-new/test/spec/directives/timeline.js b/ocw-ui/frontend-new/test/spec/directives/timeline.js
index 4c61907..06c72e1 100644
--- a/ocw-ui/frontend-new/test/spec/directives/timeline.js
+++ b/ocw-ui/frontend-new/test/spec/directives/timeline.js
@@ -30,10 +30,4 @@ describe('Directive: timeline', function () {
   beforeEach(inject(function ($rootScope) {
     scope = $rootScope.$new();
   }));
-
-  it('should make hidden element visible', inject(function ($compile) {
-    element = angular.element('<timeline></timeline>');
-    element = $compile(element)(scope);
-    expect(element.text()).toBe('this is the timeline directive');
-  }));
 });


Mime
View raw message