Produced by Araxis Merge on 12/7/2018 11:36:03 AM Central Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | C:\SCRUB\MHED\MHED\VAR 4.10.0\var-web-release-4.10@e10f18de1ef\veteran-appointment-requests\app\modules\new-appointment-request\tests\direct\views | details-layout-view-spec.js | Mon Oct 22 23:25:20 2018 UTC |
| 2 | C:\MHED-scrubbed\MHED\MHED\VAR 4.10.0\var-web-release-4.10@e10f18de1ef\veteran-appointment-requests\app\modules\new-appointment-request\tests\direct\views | details-layout-view-spec.js | Fri Dec 7 13:07:36 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 108 |
| Changed | 2 | 4 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | define([ | |
| 2 | 'Layou t', | |
| 3 | 'modul es/new-app ointment-r equest/vie ws/direct/ layout-vie w', | |
| 4 | ], | |
| 5 | function(L ayout, App ointmentDe tailsLayou tView) { | |
| 6 | 'use s trict'; | |
| 7 | ||
| 8 | ||
| 9 | // TOD O I am not sure this test is s till valid ... will c heck if i still need after cre ating new tests | |
| 10 | xdescr ibe('Appoi ntment Det ails Layou t View', f unction() { | |
| 11 | va r view; | |
| 12 | va r $view; | |
| 13 | va r layout = new Layou t(); | |
| 14 | ||
| 15 | la yout.rende r(); | |
| 16 | ||
| 17 | // TODO: upg rade Jasmi ne, change to before All | |
| 18 | be foreEach(f unction() { | |
| 19 | // spyOn (Appointme ntDetailsL ayoutView. prototype, 'resetCli nicsTimeSl otsCollect ions'); | |
| 20 | // spyOn (Appointme ntDetailsL ayoutView. prototype, '_showCli nicsLayout View'); | |
| 21 | // spyOn (Appointme ntDetailsL ayoutView. prototype, '-fetchCl inicsTimeS lotsCollec tions'); | |
| 22 | spyOn(Appo intmentDet ailsLayout View.proto type, '_re setF DNS elDateTime '); | |
| 23 | view = n ew Appoint mentDetail sLayoutVie w(); | |
| 24 | ||
| 25 | layout.s howChildVi ew('conten t', view); | |
| 26 | $view = view.$el; | |
| 27 | }) ; | |
| 28 | ||
| 29 | // afterAll( function() { | |
| 30 | // layout.g etRegion(' content'). empty(); | |
| 31 | // }); | |
| 32 | ||
| 33 | it ('has regi ons to sho w form sec tions', fu nction() { | |
| 34 | expect($ view.has(v iew.region s.clinics) .length).t oEqual(1); | |
| 35 | expect($ view.has(v iew.region s.dateTime ).length). toEqual(1) ; | |
| 36 | expect($ view.has(v iew.region s.purpose) .length).t oEqual(1); | |
| 37 | }) ; | |
| 38 | ||
| 39 | de scribe('on show', fu nction() { | |
| 40 | ||
| 41 | it('rese ts model d ata and fe tches time slots', f unction () { | |
| 42 | // e xpect(view ._resetCli nicsTimeSl otsCollect ions).toHa veBeenCall ed(); | |
| 43 | // e xpect(view .fetchClin icsTimeSlo tsCollecti ons).toHav eBeenCalle d(); | |
| 44 | ||
| 45 | expect(vie w._resetF DNS elDateTime ).toHaveBe enCalled() ; | |
| 46 | }); | |
| 47 | ||
| 48 | it('show s clinics' , function () { | |
| 49 | // e xpect(view .showClini csLayoutVi ew).toHave BeenCalled (); | |
| 50 | }); | |
| 51 | }) ; | |
| 52 | ||
| 53 | }); | |
| 54 | ||
| 55 | } | |
| 56 | ); |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.