Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 1b58f12

Browse files
author
Nick Litwin
committed
Remove old tests
1 parent 0d8de4a commit 1b58f12

File tree

2 files changed

+11
-39
lines changed

2 files changed

+11
-39
lines changed

app/directives/challenge-tile/challenge-tile.spec.js

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -36,35 +36,4 @@ describe('Challenge Tile Directive', function() {
3636
expect(element.isolateScope().DOMAIN).to.equal(domain);
3737
});
3838
});
39-
40-
describe('Spotlight Challenges', function() {
41-
var spotlightTile;
42-
43-
beforeEach(function() {
44-
scope.challenge = spotlightChallenge;
45-
element = angular.element('<challenge-tile class="tile spotlight" spotlight="spotlight" challenge="challenge"></challenge-tile>');
46-
spotlightTile = $compile(element)(scope);
47-
scope.$digest();
48-
});
49-
50-
it('should have spotlight challenge related html', function() {
51-
var spotlightHtml = spotlightTile.html();
52-
53-
expect(spotlightHtml).to.include('Spotlight Challenge');
54-
});
55-
56-
it('should not show the number of registrants if there are 0', function() {
57-
scope.challenge.numRegistrants = 0;
58-
scope.$digest();
59-
60-
expect(spotlightTile.find('.registrants')[0].className).to.include('ng-hide');
61-
});
62-
63-
it('should not show the number of submissions if there are 0', function() {
64-
scope.challenge.numSubmissions = 0;
65-
scope.$digest();
66-
67-
expect(spotlightTile.find('.submissions')[0].className).to.include('ng-hide');
68-
});
69-
});
7039
});

app/specs.html

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,23 +51,24 @@ <h1><a href="specs.html">Spec Runner</a></h1>
5151
<script src="../bower_components/angucomplete-alt/angucomplete-alt.js"></script>
5252
<script src="../bower_components/angular-cookies/angular-cookies.js"></script>
5353
<script src="../bower_components/angular-dropdowns/dist/angular-dropdowns.js"></script>
54-
<script src="../bower_components/angular-filter/dist/angular-filter.js"></script>
54+
<script src="../bower_components/angular-filter/dist/angular-filter.min.js"></script>
5555
<script src="../bower_components/angular-img-fallback/angular.dcb-img-fallback.js"></script>
5656
<script src="../bower_components/angular-jwt/dist/angular-jwt.js"></script>
5757
<script src="../bower_components/angular-sanitize/angular-sanitize.js"></script>
5858
<script src="../bower_components/angular-ui-router/release/angular-ui-router.js"></script>
5959
<script src="../bower_components/x2js/xml2json.min.js"></script>
6060
<script src="../bower_components/angular-xml/angular-xml.js"></script>
61+
<script src="../bower_components/angular-animate/angular-animate.js"></script>
62+
<script src="../bower_components/angularjs-toaster/toaster.js"></script>
6163
<script src="../bower_components/appirio-tech-ng-iso-constants/dist/ng-iso-constants.js"></script>
6264
<script src="../bower_components/d3/d3.js"></script>
6365
<script src="../bower_components/jstzdetect/jstz.min.js"></script>
6466
<script src="../bower_components/moment/moment.js"></script>
67+
<script src="../bower_components/ng-busy/build/angular-busy.js"></script>
6568
<script src="../bower_components/ng-notifications-bar/dist/ngNotificationsBar.min.js"></script>
6669
<script src="../bower_components/ngDialog/js/ngDialog.js"></script>
6770
<script src="../bower_components/lodash/lodash.js"></script>
6871
<script src="../bower_components/restangular/dist/restangular.js"></script>
69-
<script src="../bower_components/angular-animate/angular-animate.js"></script>
70-
<script src="../bower_components/angularjs-toaster/toaster.js"></script>
7172
<script src="../bower_components/angular-mocks/angular-mocks.js"></script>
7273
<script src="../bower_components/sinon/index.js"></script>
7374
<script src="../bower_components/bardjs/dist/bard.js"></script>
@@ -134,6 +135,7 @@ <h1><a href="specs.html">Spec Runner</a></h1>
134135
<script src="/app/my-srms/my-srms.routes.js"></script>
135136
<script src="/app/my-dashboard/my-dashboard.module.js"></script>
136137
<script src="/app/my-srms/my-srms.controller.js"></script>
138+
<script src="/app/my-dashboard/subtrack-stats/subtrack-stats.controller.js"></script>
137139
<script src="/app/my-dashboard/srms/srms.controller.js"></script>
138140
<script src="/app/my-dashboard/programs/programs.controller.js"></script>
139141
<script src="/app/my-dashboard/my-dashboard.routes.js"></script>
@@ -165,11 +167,12 @@ <h1><a href="specs.html">Spec Runner</a></h1>
165167
<script src="/app/directives/right-placeholder.directive.js"></script>
166168
<script src="/app/directives/profile-widget/profile-widget.directive.js"></script>
167169
<script src="/app/directives/on-file-change.directive.js"></script>
170+
<script src="/app/directives/ios-card/ios-card.directive.js"></script>
168171
<script src="/app/directives/history-graph/history-graph.directive.js"></script>
169172
<script src="/app/directives/focus-on.directive.js"></script>
170173
<script src="/app/directives/external-account/external-account.directive.js"></script>
171174
<script src="/app/directives/distribution-graph/distribution-graph.directive.js"></script>
172-
<script src="/app/directives/challenge-tiles/challenge-tile.directive.js"></script>
175+
<script src="/app/directives/challenge-tile/challenge-tile.directive.js"></script>
173176
<script src="/app/directives/badges/badge-tooltip.directive.js"></script>
174177
<script src="/app/directives/account/validate-register.directive.js"></script>
175178
<script src="/app/directives/account/validate-email.directive.js"></script>
@@ -208,12 +211,12 @@ <h1><a href="specs.html">Spec Runner</a></h1>
208211
<script src="/app/services/user.service.spec.js"></script>
209212
<script src="/app/settings/settings.spec.js"></script>
210213
<script src="/app/skill-picker/skill-picker.spec.js"></script>
211-
<script src="/app/blocks/exception/exception-handler.provider.spec.js"></script>
212214
<script src="/app/account/login/login.spec.js"></script>
213215
<script src="/app/account/register/register.spec.js"></script>
214216
<script src="/app/account/reset-password/reset-password.spec.js"></script>
217+
<script src="/app/blocks/exception/exception-handler.provider.spec.js"></script>
215218
<script src="/app/directives/badges/badge-tooltip.spec.js"></script>
216-
<script src="/app/directives/challenge-tiles/challenge-tile.spec.js"></script>
219+
<script src="/app/directives/challenge-tile/challenge-tile.spec.js"></script>
217220
<script src="/app/directives/external-account/external-account.directive.spec.js"></script>
218221
<script src="/app/directives/tc-paginator/tc-paginator.spec.js"></script>
219222
<script src="/app/my-dashboard/community-updates/community-updates.spec.js"></script>
@@ -228,12 +231,12 @@ <h1><a href="specs.html">Spec Runner</a></h1>
228231
<script src="/app/profile/about/about.controller.spec.js"></script>
229232
<script src="/app/profile/badges/badges.spec.js"></script>
230233
<script src="/app/profile/subtrack/subtrack.spec.js"></script>
231-
<script src="/app/settings/account-info/account-info.spec.js"></script>
232234
<script src="/app/settings/edit-profile/edit-profile.spec.js"></script>
233235
<script src="/app/settings/preferences/preferences.spec.js"></script>
236+
<script src="/app/settings/account-info/account-info.spec.js"></script>
234237
<script src="/app/settings/update-password/update-password.spec.js"></script>
235-
<script src="/app/directives/account/toggle-password/toggle-password.spec.js"></script>
236238
<script src="/app/directives/account/toggle-password-with-tips/toggle-password-with-tips.spec.js"></script>
239+
<script src="/app/directives/account/toggle-password/toggle-password.spec.js"></script>
237240
<!-- endinject -->
238241

239242
<!-- inject:templates:js -->

0 commit comments

Comments
 (0)