225. EPMO Open Source Coordination Office Redaction File Detail Report

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.

225.1 Files compared

# 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\common\views email-preferences-section-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\common\views email-preferences-section-view-spec.js Fri Dec 7 13:07:34 2018 UTC

225.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 132
Changed 1 2
Inserted 0 0
Removed 0 0

225.3 Comparison options

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

225.4 Active regular expressions

No regular expressions were active.

225.5 Comparison detail

  1   define([
  2       'backb one',
  3       'Layou t',
  4       'modul es/new-app ointment-r equest/vie ws/common/ email/sect ion-view',
  5   ],
  6   function(B ackbone, L ayout, Ema ilPreferen cesSection View) {
  7       'use s trict';
  8  
  9       // TOD O move to  test folde r
  10       descri be('Email  Preference s Section' , function () {
  11           va r view;
  12           va r model;
  13           va r $view;
  14           va r layout;
  15  
  16  
  17           be foreEach(f unction()  {
  18                layout =  new Layou t();
  19                layout.r ender();
  20                model =  new Backbo ne.Model() ;
  21                spyOn(Em ailPrefere ncesSectio nView.prot otype, 'go ToNotifica tionInfo') .and.callT hrough();
  22  
  23                view = n ew EmailPr eferencesS ectionView ({model: m odel});
  24  
  25                  layout.sho wChildView ('f DNS     tent', vie w);
  26                $view =  view.$el;
  27           }) ;
  28  
  29           it ('correct  section le gend text  is set', f unction()  {
  30                expect($ view.find( "legend[cl ass='form- section-he ading']"). text()).to Equal('Ema il Prefere nces');
  31           }) ;
  32  
  33           it ('template  gets appe nded to le gend', fun ction() {
  34                expect($ view.find( "legend[fo r='emailAl lowed'] #n otificatio n-info-btn ").length) .toEqual(1 );
  35                expect($ view.find( "legend[fo r='emailAl lowed'] #n otificatio n-info-btn  > span"). text()).to Equal('Inf ormation a bout updat es on my a ppointment s and requ ests');
  36           }) ;
  37  
  38           de scribe('wh en notific ation info  button is  clicked',  function( ) {
  39  
  40                it('call s goToNoti ficationIn fo when bu tton is cl icked', fu nction() {
  41                    $vie w.find('#n otificatio n-info-btn ').click() ;
  42                    expe ct(view.go ToNotifica tionInfo). toHaveBeen Called();
  43                });
  44           }) ;
  45           de scribe('ov errideInit ialize', f unction()  {
  46                it('sets  the legen d and emai l allowed  for cc req uest', fun ction() {
  47                    view .overrideI nitialize( {isForComm unityCare:  true});
  48                    expe ct(view.le gend).toEq ual('VA Sc heduling N otificatio ns');
  49                    expe ct(view.mo del.get('e mailAllowe d')).toEqu al(true);
  50                });
  51                it('sets  the infor mation for  ExpressCa re', funct ion() {
  52                    view .overrideI nitialize( {isForExpr essCare: t rue});
  53                    expe ct(view.le gend).toEq ual('Notif ication Se ttings');
  54                    expe ct(view.mo del.get('e mailAllowe d')).toEqu al(true);
  55                    expe ct(view.co llection.g et('emailA llowed')). toBeUndefi ned();
  56                    expe ct(view.is ForVideoVi sit).toBeF alsy();
  57                });
  58                it('sets  the infor mation for  VideoVisi t', functi on() {
  59                    view .overrideI nitialize( {isForVide oVisit: tr ue});
  60                    expe ct(view.le gend).toEq ual('Notif ication Se ttings');
  61                    expe ct(view.mo del.get('e mailAllowe d')).toEqu al(true);
  62                    expe ct(view.co llection.g et('emailA llowed')). toBeUndefi ned();
  63                    expe ct(view.is ForVideoVi sit).toBeT ruthy();
  64                });
  65           }) ;
  66       });
  67   });