Produced by Araxis Merge on 10/4/2017 8:04:41 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\tests\acceptance-tests\features\steps | data_expiration_steps.rb | Mon Aug 21 12:51:01 2017 UTC |
| 2 | rdk.zip\rdk\product\tests\acceptance-tests\features\steps | data_expiration_steps.rb | Tue Oct 3 17:27:17 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 58 |
| 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 | path = Fil e.expand_p ath '..', __FILE__ | |
| 2 | $LOAD_PATH .unshift p ath unless $LOAD_PAT H.include? (path) | |
| 3 | path = Fil e.expand_p ath '../.. /../../sha red-test-r uby', __FI LE__ | |
| 4 | $LOAD_PATH .unshift p ath unless $LOAD_PAT H.include? (path) | |
| 5 | require 'V erifyJsonR untimeValu e.rb' | |
| 6 | ||
| 7 | When(/^the client re quests man ual expira tion time "(.*?)" fo r patient with pid " (.*?)" and site "(.* ?)"$/) do |time, pid , site_nam e| | |
| 8 | # http:// IP /sync/expi re?pid=110 16V630869& vistaId=CD S&time=201 4091617091 7.123 | |
| 9 | # path = QueryRDKS ync.new("e xpirepatie ntdata", p id) | |
| 10 | path = R DKQuery.ne w('synchro nization-e xpirepatie ntdata') | |
| 11 | path.add _parameter ("pid", pi d) | |
| 12 | path.add _parameter ("vistaId" , site_nam e) | |
| 13 | path.add _parameter ("time", t ime) | |
| 14 | p path.p ath | |
| 15 | ||
| 16 | user = " 9E7A;500" | |
| 17 | pass = " REDACT;RED ACTED" | |
| 18 | begin | |
| 19 | @respo nse = HTTP artyRDK.po st(path.pa th) | |
| 20 | rescue T imeout::Er ror | |
| 21 | p "Syn c timed ou t" | |
| 22 | end | |
| 23 | end | |
| 24 | ||
| 25 | Then(/^the sync stat us for pat ient conta in:$/) do |table| | |
| 26 | @json_ob ject = JSO N.parse(@r esponse.bo dy) | |
| 27 | result_a rray = @js on_object[ "data"]["i tems"] | |
| 28 | ||
| 29 | json_ver ify = Veri fyJsonRunt imeValue.n ew | |
| 30 | json_ver ify.verify _json_runt ime_value( result_arr ay, table) | |
| 31 | end |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.