Produced by Araxis Merge on 12/7/2018 11:36:04 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\requests\views | phone-contact-section-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\requests\views | phone-contact-section-spec.js | Fri Dec 7 13:07:38 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 4 | 70 |
| Changed | 3 | 6 |
| 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 | 'backb one', | |
| 3 | 'Layou t', | |
| 4 | 'App', | |
| 5 | 'modul es/form/qu estion-vie w', | |
| 6 | 'modul es/form/se ction-view ', | |
| 7 | 'modul es/new-app ointment-r equest/vie ws/request s/phone-co ntact/sect ion-view', | |
| 8 | ], | |
| 9 | function(B ackbone, L ayout, app , Question View, Sect ionView, R equestDeta ilsPhoneCo ntactSecti onView) { | |
| 10 | 'use s trict'; | |
| 11 | ||
| 12 | descri be('Reques t Details Phone Cont act Sectio n View', f unction() { | |
| 13 | va r view; | |
| 14 | va r layout; | |
| 15 | ||
| 16 | be foreEach(f unction() { | |
| 17 | layout = new Layou t(); | |
| 18 | layout.r ender(); | |
| 19 | spyOn(Requ estDetails PhoneConta ctSectionV iew.protot ype, 'upda teF DNS el'); | |
| 20 | ||
| 21 | view = n ew Request DetailsPho neContactS ectionView ({model: n ew Backbon e.Model()} ); | |
| 22 | layout.sho wChildView ('f DNS tent', vie w); | |
| 23 | }) ; | |
| 24 | ||
| 25 | af terEach(fu nction() { | |
| 26 | layout.get Region('f DNS tent').emp ty(); | |
| 27 | }) ; | |
| 28 | ||
| 29 | it ('initiali zes with a ll questio ns', funct ion() { | |
| 30 | expect(v iew.collec tion.lengt h).toEqual (4); | |
| 31 | expect(v iew.collec tion.at(0) .id).toEqu al('phoneN umber'); | |
| 32 | expect(v iew.collec tion.at(1) .id).toEqu al('verify PhoneNumbe r'); | |
| 33 | expect(v iew.collec tion.at(2) .id).toEqu al('bestTi metoCall') ; | |
| 34 | expect(v iew.collec tion.at(3) .id).toEqu al('reques tedPhoneCa ll'); | |
| 35 | }) ; | |
| 36 | }); | |
| 37 | } | |
| 38 | ); |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.