flights_gui_tests 2.3.49 → 2.3.50
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: f23b925ddc66012b2142fa32982422fc6d9a4507
|
4
|
+
data.tar.gz: b169f779060ed306d0e4755f07fe0647b5dddec7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71ef8d890e1c8b72e49345e43aa511bda150562f29cfbc7d076d73880055a534ee3178312d3522ecc0572669bca9d02bd447de0fd62d5ddefc5a7283e8eedc1d
|
7
|
+
data.tar.gz: 61e7e64cbe3f4e27dec634485f93f6975ad43e875b4b8592bf4bb3b4b9d41782f1e364d4e9df3f440fc0e09f6f0c2733848fe920baf9477aff6d2f2494caef1c
|
@@ -17,9 +17,9 @@ Y(/^(?:verifico|valido) que la ciudad destino sea la que se eligio$/) do
|
|
17
17
|
doc = Hpricot.parse(@page.html)
|
18
18
|
ciudades = (doc/"div.mainTitle/h1").inner_text.strip.no_accents.gsub(/\n/,' ')
|
19
19
|
if AllPages.site=="BR"
|
20
|
-
ciudad_destino = ciudades.match(/ (
|
20
|
+
ciudad_destino = ciudades.match(/ (a|to|de) (.+) (para|desde|from) (.+)/)[4].strip
|
21
21
|
else
|
22
|
-
ciudad_destino = ciudades.match(/ (
|
22
|
+
ciudad_destino = ciudades.match(/ (a|to|de) (.+) (para|desde|from) (.+)/)[2].strip
|
23
23
|
end
|
24
24
|
@page.ciudad_elegida.downcase.should equal(ciudad_destino.downcase) unless @page.ciudad_elegida.match(/Guarullos|Panama|Santiago|Mexico/)
|
25
25
|
end
|
data/features/support/version.rb
CHANGED