flights_gui_tests 1.7.8 → 1.7.9

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: d5f566672ce2010d83a282940ea27eb6c8cd7a24
4
- data.tar.gz: ebb37f88facd3a3420a71f12719cac928a0fdc49
3
+ metadata.gz: d633a338b657eac5cebef6a5107bb87e82b3c1ad
4
+ data.tar.gz: ac96824cc2987fe6ab09d24e0925dc2bf835aadf
5
5
  SHA512:
6
- metadata.gz: a03bc55a2c8b091191ed10e25c9d4f307df823692a77531a4706c0b33de528d7f49e65378d8d747998cb12e34d8513ee290a223b6d5e0680e6db3a0bab78242a
7
- data.tar.gz: 1c237eecc3cfb99f679ff94ecfb3dc62dce119625a552d5151a8b4c1bc32b014998e6fe9e2fd5e4ef00271a66436a2a9c72596b77a263df4823b2a36ba336af5
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]}/css/#{to_city}")
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
@@ -1,3 +1,3 @@
1
1
  module FlightsGui
2
- VERSION = "1.7.8"
2
+ VERSION = "1.7.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flights_gui_tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.8
4
+ version: 1.7.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez