flights_gui_tests 2.3.25 → 2.3.26
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1489bcd6ecf1060da911beec9ff89fefd5991a31
|
4
|
+
data.tar.gz: 6a30147fcb1d6031f2afbf0bf790d5e940fc6176
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5aa1c45fafba47024d9f9eb11a0cf17b7f827a1a7aeb0826bba2d1c78139b98603d4770c9446daf510c66fa1866d9c0d0c18e6fb92f704f7fc9e3c490703ea56
|
7
|
+
data.tar.gz: 9dbb2e549cf87d973c32c2c18728169defe90b04ca0b68da3b4c65b6654a461064e55c85fbce304618612eb9199fe365a9d7b76399b26260afe32a436e16ae57
|
@@ -30,7 +30,7 @@ Entonces(/^(?:verifico|valido) que el precio del seguro se muestre correctamente
|
|
30
30
|
price_detail=@page.precio_seguro_desglose_element.span(:class,'amount').text.gsub(/\.|\,/,'')
|
31
31
|
price_assistance=@page.precio_seguro_element.text.gsub(/\.|\,/,'')
|
32
32
|
dias = (@page.manage_data.date_to_1 - @page.manage_data.date_from_1).to_i + 1
|
33
|
-
if((Date.parse(@itinerario_checkout.vueltas.last['
|
33
|
+
if((Date.parse(@itinerario_checkout.vueltas.last['llegada']['fecha']) - Date.parse(@itinerario_checkout.vueltas.first['salida']['fecha'])).to_i>0)
|
34
34
|
dias = dias + 1
|
35
35
|
end
|
36
36
|
precio_por_dia = price_detail.to_i / dias
|
data/features/support/version.rb
CHANGED