Produced by Araxis Merge on 10/4/2017 8:04:37 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\write\pick-list\locations\wards | wards-fetch-list-itest-spec.js | Mon Aug 21 12:51:00 2017 UTC |
| 2 | rdk.zip\rdk\product\production\rdk\src\write\pick-list\locations\wards | wards-fetch-list-itest-spec.js | Tue Oct 3 19:14:31 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 52 |
| Changed | 1 | 10 |
| 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 fetch = require( './wards-f etch-list' ).fetch; | |
| 4 | ||
| 5 | var log = sinon.stub (require(' bunyan').c reateLogge r({ name: 'wards-fet ch-list' } )); | |
| 6 | ||
| 7 | var config uration = { | |
| 8 | enviro nment: 'de velopment' , | |
| 9 | contex t: 'OR CPR S GUI CHAR T', | |
| 10 | host: ' IP ', | |
| 11 | port: PORT , | |
| 12 | accessCode : ' REDACT ', | |
| 13 | verifyCode : ' REDACTED ', | |
| 14 | localIP: ' IP ', | |
| 15 | localA ddress: 'l ocalhost' | |
| 16 | }; | |
| 17 | ||
| 18 | describe(' wards-fetc h-list res ource', fu nction() { | |
| 19 | it('ca n call the RPC and g et results ', functio n(done) { | |
| 20 | th is.timeout (120000); | |
| 21 | fe tch(log, c onfigurati on, functi on(err, re sult) { | |
| 22 | expect(e rr).to.be. null(); | |
| 23 | expect(r esult).not .to.be.fal sy(); | |
| 24 | result.m ust.be.an. array(); | |
| 25 | expect(r esult.leng th).to.be. gte(0); | |
| 26 | done(); | |
| 27 | }) ; | |
| 28 | }); | |
| 29 | }); | |
| 30 | ||
| 31 |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.