Produced by Araxis Merge on 10/4/2017 8:04:35 AM Central Daylight 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 | rdk.zip\rdk\product\production\rdk\src\resources\facility | list-spec.js | Mon Aug 21 12:51:00 2017 UTC |
| 2 | rdk.zip\rdk\product\production\rdk\src\resources\facility | list-spec.js | Tue Oct 3 18:14:53 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 5 | 94 |
| Changed | 4 | 16 |
| 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 | 'use stric t'; | |
| 2 | ||
| 3 | var listRe source = r equire('./ list'); | |
| 4 | ||
| 5 | function b uildReques t() { | |
| 6 | var re quest = {} ; | |
| 7 | reques t.app = { | |
| 8 | co nfig: { | |
| 9 | vistaSit es: { | |
| 10 | '9E7 A': { | |
| 11 | division: [{ | |
| 12 | id: '5 00', | |
| 13 | name: 'PANORAMA' | |
| 14 | }], | |
| 15 | host: ' IP ', | |
| 16 | port: PORT , | |
| 17 | production : false, | |
| 18 | accessCode : ' REDACT ', | |
| 19 | verifyCode : ' REDACTED ' | |
| 20 | }, | |
| 21 | 'C87 7': { | |
| 22 | division: [{ | |
| 23 | id: '5 07', | |
| 24 | name: 'KODAK' | |
| 25 | }], | |
| 26 | host: ' IP ', | |
| 27 | port: PORT , | |
| 28 | production : false, | |
| 29 | accessCode : ' REDACT ', | |
| 30 | verifyCode : ' REDACTED ' | |
| 31 | } | |
| 32 | } | |
| 33 | } | |
| 34 | }; | |
| 35 | return request; | |
| 36 | } | |
| 37 | ||
| 38 | describe(' Facility l ist', func tion() { | |
| 39 | it('te sts that F acility Li st returns alphabeti cally', fu nction(don e) { | |
| 40 | va r req = bu ildRequest (); | |
| 41 | va r res = { | |
| 42 | status: function(s tatus) { | |
| 43 | res. status = s tatus; | |
| 44 | retu rn this; | |
| 45 | }, | |
| 46 | rdkSend: function( result) { | |
| 47 | expe ct(result. data.items [0].name). not.to.be. undefined( ); | |
| 48 | expe ct(result. data.items [0].name). to.equal(' KODAK'); | |
| 49 | done (); | |
| 50 | } | |
| 51 | }; | |
| 52 | li stResource .get(req, res); | |
| 53 | }); | |
| 54 | ||
| 55 | }); |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.