flights_gui_tests 1.7.8 → 1.7.9
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: d633a338b657eac5cebef6a5107bb87e82b3c1ad
|
4
|
+
data.tar.gz: ac96824cc2987fe6ab09d24e0925dc2bf835aadf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bdeb7f234db49bc385b78463d8b766ebb9869bf5da8478148f18d4ea3d038b1951550712104e1d59e2b145bd002ad7c49446f3ffded370c94c238158b681bfa
|
7
|
+
data.tar.gz: 8a264367d4ca577b8727a26350f6a05765aab7b8b3b1048b25f8e3c04188ac3869cdff7b4991d17ce7252d7925d710e4197f533799b7a439e6ed940291a0563f
|
@@ -100,7 +100,7 @@ end
|
|
100
100
|
|
101
101
|
Entonces(/^(?:verifico|valido) que la url de landing para el destino "(.*?)" no rompa$/) do |to_city|
|
102
102
|
match = @path_landing[1].match(/(.+)(vuelos|passagens-aereas|flights)\/(...)\/(...)\//)
|
103
|
-
respond = HTTParty.get("#{match[1]}#{match[2]}/
|
103
|
+
respond = HTTParty.get("#{match[1]}#{match[2]}/ccs/#{to_city}",:headers=>{"User-Agent"=>"Mozilla\/5.0"})
|
104
104
|
respond.code.to_s.should match("200|404")
|
105
105
|
end
|
106
106
|
|
@@ -28,7 +28,7 @@ Entonces(/^(?:verifico|valido) que los contadores respecto a las aerolineas sean
|
|
28
28
|
end
|
29
29
|
|
30
30
|
Entonces(/^(?:verifico|valido) que la primer pagina muestre correctamente los filtros de aerolineas$/) do
|
31
|
-
group_airlines = [['UA', 'CM', 'AM', 'US', 'AA', 'DL'], ['LA', '4M', 'XL', '4C', 'JJ', 'PZ'], ['AV', 'TA', 'LR']]
|
31
|
+
group_airlines = [['UA', 'CM', 'AM', 'US', 'AA', 'DL'], ['LA', '4M', 'XL', '4C', 'JJ', 'PZ'], ['AV', 'TA', 'LR', 'T0']]
|
32
32
|
doc = Hpricot.parse(@page.html)
|
33
33
|
airlines = []
|
34
34
|
airline = (@airline / 'img').first.attributes['src'].match(/\/(.{1,7})\.png/)[1].strip
|
data/features/support/version.rb
CHANGED