ds-gui-automation 0.1.51 → 0.1.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd7b15c15c61b3c78135a44782232be852561919
4
- data.tar.gz: 8f99c48067b17bd5e66854198278ba47cd1d06a2
3
+ metadata.gz: 8aaf10a59749064319a5ec912a99b91d12c08014
4
+ data.tar.gz: 73ac695f3219856f492c62aa7e62596e4ea82f42
5
5
  SHA512:
6
- metadata.gz: 83c898e3cb30b69c34aa8d6953313afb38846c0a5418bdc63376a59b3a756f43964deb241fc03b92245f9c9eaebb3b893de4869c5430e905cd3aaefda4319e3a
7
- data.tar.gz: 7773ff2a9de0ed74215080baafb39cc679cbd7708447cc7bfdaa6bcdb6bd5adeaf7de79848c4381676fe1e8b6e1dfbf0164d8aa5873327fa9edbccca23afec47
6
+ metadata.gz: 509afbf14875a1eceed5f9f21199c768eea7bd1c278be0eeb3d4d7cb26c26b6d86aad06c79a5965593425e23064300cb1c9e594c8a1f4b5a7da33c77e6d441a3
7
+ data.tar.gz: 9a398bb273025ca22105a80c90b54706076183b1107a79c402e41dd7fa39d882e7c9430a598a39116063e773006e70a39cf4f8ee39f0294d223eea61534b423b
@@ -19,16 +19,15 @@ Then(/^I should see an acceptable percentage of reservations cancelled in collec
19
19
  day_index = (@@day_call['cancelled_in_collection'].to_f / @@day_call['created'].to_f) * 100
20
20
 
21
21
  if country == 'AR'
22
- ((day_index - month_index) < 3).should be_true
23
22
  puts "Porcentaje setteado ==> 3%"
23
+ puts "Porcentaje devuelto ==> #{day_index - month_index}%"
24
+ ((day_index - month_index) < 3).should be_true
24
25
  end
25
26
  if country == 'BR'
26
- ((day_index - month_index) < 5).should be_true
27
27
  puts "Porcentaje setteado ==> 5%"
28
+ puts "Porcentaje devuelto ==> #{day_index - month_index}%"
29
+ ((day_index - month_index) < 5).should be_true
28
30
  end
29
-
30
- puts "Porcentaje devuelto ==> #{day_index - month_index}%"
31
-
32
31
  end
33
32
 
34
33
  Then(/^I should see an acceptable percentage of reservations cancelled in issue for "(.*)"$/) do | country |
@@ -38,16 +37,15 @@ Then(/^I should see an acceptable percentage of reservations cancelled in issue
38
37
  day_index = (@@day_call['cancelled_in_issuance'].to_f / @@day_call['created'].to_f) * 100
39
38
 
40
39
  if country == 'AR'
41
- ((day_index - month_index) < 1).should be_true
42
40
  puts "Porcentaje setteado ==> 1%"
41
+ puts "Porcentaje devuelto ==> #{day_index - month_index}%"
42
+ ((day_index - month_index) < 1).should be_true
43
43
  end
44
44
  if country == 'BR'
45
- ((day_index - month_index) < 1).should be_true
46
45
  puts "Porcentaje setteado ==> 1%"
46
+ puts "Porcentaje devuelto ==> #{day_index - month_index}%"
47
+ ((day_index - month_index) < 1).should be_true
47
48
  end
48
-
49
- puts "Porcentaje devuelto ==> #{day_index - month_index}%"
50
-
51
49
  end
52
50
 
53
51
  Then(/^I should see an acceptable percentage of reservations cancelled in VCC for "(.*)"$/) do | country |
@@ -57,16 +55,15 @@ Then(/^I should see an acceptable percentage of reservations cancelled in VCC fo
57
55
  day_index = (@@day_call['error_vcc'].to_f / @@day_call['created'].to_f) * 100
58
56
 
59
57
  if country == 'AR'
60
- ((day_index - month_index) < 1).should be_true
58
+ puts "Porcentaje devuelto ==> #{day_index - month_index}%"
61
59
  puts "Porcentaje setteado ==> 1%"
60
+ ((day_index - month_index) < 1).should be_true
62
61
  end
63
62
  if country == 'BR'
64
- ((day_index - month_index) < 1).should be_true
65
63
  puts "Porcentaje setteado ==> 1%"
64
+ puts "Porcentaje devuelto ==> #{day_index - month_index}%"
65
+ ((day_index - month_index) < 1).should be_true
66
66
  end
67
-
68
- puts "Porcentaje devuelto ==> #{day_index - month_index}%"
69
-
70
67
  end
71
68
 
72
69
  Then(/^I should see an acceptable percentage of successful reservations for "(.*)"$/) do | country |
@@ -95,14 +92,13 @@ Then(/^I should see an acceptable percentage of reservations in others for "(.*)
95
92
  day_index = (@@day_call['others'].to_f / @@day_call['created'].to_f) * 100
96
93
 
97
94
  if country == 'AR'
98
- ((day_index - month_index) < 15).should be_true
99
95
  puts "Porcentaje setteado ==> 15%"
96
+ puts "Porcentaje devuelto ==> #{day_index - month_index}%"
97
+ ((day_index - month_index) < 15).should be_true
100
98
  end
101
99
  if country == 'BR'
102
- ((day_index - month_index) < 15).should be_true
103
100
  puts "Porcentaje setteado ==> 15%"
101
+ puts "Porcentaje devuelto ==> #{day_index - month_index}%"
102
+ ((day_index - month_index) < 15).should be_true
104
103
  end
105
-
106
- puts "Porcentaje devuelto ==> #{day_index - month_index}%"
107
-
108
104
  end
@@ -1,3 +1,3 @@
1
1
  module DestinationServicesGUI
2
- VERSION = "0.1.51"
2
+ VERSION = "0.1.52"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ds-gui-automation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.51
4
+ version: 0.1.52
5
5
  platform: ruby
6
6
  authors:
7
7
  - Santiago Ochoa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-12 00:00:00.000000000 Z
11
+ date: 2015-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: henry-container