flights_gui_tests 2.3.9 → 2.3.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/features/support/classes/checkout/new_cluster.rb +10 -10
- data/features/support/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cd0f32a93a8b1640e64284d41a03cbe955dba75
|
4
|
+
data.tar.gz: a3ba840a901313e80ab0f694c48f7d5db5c3991b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 533e9e4b6296501bdb024723428ff07f24dc3e03e0d41f8cea86d89e5314398c59ede5efb94eedca7fae6daf5cf3815236a5ba16b964aae7bb40ca3b859f09ad
|
7
|
+
data.tar.gz: d0904334a79b232783b8c3920e337b9c792c2d48467f68ac16ba70d324858950a9435e96279cc72127409893c0bec4e655a3b450182e3200c6618367d615eb48
|
@@ -65,16 +65,16 @@ module NewCheckout
|
|
65
65
|
else
|
66
66
|
@tarifas['tarifa_adulto'] = Price.new((html/"div.adult-price-conversion span#local-currency").first.inner_text.strip)
|
67
67
|
end
|
68
|
-
@tarifas['adt'] = Price.new((html/"li.adult_fare span.price-currency").first.inner_text.strip)
|
69
|
-
@tarifas['cnn'] = (html/"li.child_fare").first ? Price.new((html/"li.child_fare span.price-currency").first.inner_text.strip) : Price.new("$ 0",true)
|
70
|
-
@tarifas['inf'] = (html/"li.infant_fare").first ? Price.new((html/"li.infant_fare span.price-currency").first.inner_text.strip) : Price.new("$ 0",true)
|
71
|
-
@tarifas['tasas'] = (html/"li.taxes").first ? Price.new((html/"li.taxes span.price-currency").first.inner_text.
|
72
|
-
@tarifas['cargos'] = (html/"li.charges").first ? Price.new((html/"li.charges span.price-currency").first.inner_text.strip) : Price.new("$ 0",true)
|
73
|
-
@tarifas['afip'] = (html/"li.tax_afip").first ? Price.new((html/"li.tax_afip span.price-currency").first.inner_text.strip) : Price.new("$ 0",true)
|
74
|
-
@tarifas['encargos'] = (html/"li.service_taxes").first ? Price.new((html/"li.service_taxes span.price-currency").first.inner_text.strip) : Price.new("$ 0",true)
|
75
|
-
@tarifas['seguros'] = (html/"li.destination_service_insurance").first ? Price.new((html/"li.destination_service_insurance span.price-currency").first.inner_text.strip) : Price.new("$ 0",true)
|
76
|
-
@tarifas['descuento'] = (html/"li.payment_discount").first ? Price.new((html/"li.payment_discount span.price-currency span.currency").first.inner_text.strip+" "+((html/"li.payment_discount span.price-currency span.amount").first.inner_text.strip.gsub(/\D/,'').to_i*-1).to_s) : Price.new("$ 0",true)
|
77
|
-
@tarifas['total'] = (html/"span#total-price").first ? Price.new((html/"span#total-price").first.inner_text.strip) : Price.new("$ 0",true)
|
68
|
+
@tarifas['adt'] = Price.new((html/"li.adult_fare span.price-currency").first.inner_text.strip.gsub(/\D/,''))
|
69
|
+
@tarifas['cnn'] = (html/"li.child_fare").first ? Price.new((html/"li.child_fare span.price-currency").first.inner_text.strip.gsub(/\D/,'')) : Price.new("$ 0",true)
|
70
|
+
@tarifas['inf'] = (html/"li.infant_fare").first ? Price.new((html/"li.infant_fare span.price-currency").first.inner_text.strip.gsub(/\D/,'')) : Price.new("$ 0",true)
|
71
|
+
@tarifas['tasas'] = (html/"li.taxes").first ? Price.new((html/"li.taxes span.price-currency").first.inner_text.stri.gsub(/\D/,'')p) : Price.new("$ 0",true)
|
72
|
+
@tarifas['cargos'] = (html/"li.charges").first ? Price.new((html/"li.charges span.price-currency").first.inner_text.strip.gsub(/\D/,'')) : Price.new("$ 0",true)
|
73
|
+
@tarifas['afip'] = (html/"li.tax_afip").first ? Price.new((html/"li.tax_afip span.price-currency").first.inner_text.strip.gsub(/\D/,'')) : Price.new("$ 0",true)
|
74
|
+
@tarifas['encargos'] = (html/"li.service_taxes").first ? Price.new((html/"li.service_taxes span.price-currency").first.inner_text.strip.gsub(/\D/,'')) : Price.new("$ 0",true)
|
75
|
+
@tarifas['seguros'] = (html/"li.destination_service_insurance").first ? Price.new((html/"li.destination_service_insurance span.price-currency").first.inner_text.strip.gsub(/\D/,'')) : Price.new("$ 0",true)
|
76
|
+
@tarifas['descuento'] = (html/"li.payment_discount").first ? Price.new((html/"li.payment_discount span.price-currency span.currency").first.inner_text.strip.gsub(/\D/,'')+" "+((html/"li.payment_discount span.price-currency span.amount").first.inner_text.strip.gsub(/\D/,'').to_i*-1).to_s) : Price.new("$ 0",true)
|
77
|
+
@tarifas['total'] = (html/"span#total-price").first ? Price.new((html/"span#total-price").first.inner_text.strip.gsub(/\D/,'')) : Price.new("$ 0",true)
|
78
78
|
end
|
79
79
|
|
80
80
|
def validar_suma_desgloce(linea = "total|tarifa_adulto|tarifa_adulto_dolar")
|
data/features/support/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flights_gui_tests
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lgonzalez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: henry-container
|