flights_gui_tests 1.8.6 → 1.8.7
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: b8a88abf6a6f6006fd6949e4008f57dc3731dc9c
|
4
|
+
data.tar.gz: 4fc434a392f189b6ddce6fa38f3d8330227f3f24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b9e2948bedf96a98ca89984b92d5c66cf6b68483ddebf5b83decdca76d43d6c0ad988ff39c1362409eb0532357df32b6991db4c053883bbc4701d412a5d64fc
|
7
|
+
data.tar.gz: bfcab17a09df27e0dd53cea2237eb8223c1a60db42f963bf70c9523f1b7ad6c4aaca1bf4a258d86170fd8461f9340673afbc418d07915b5694b8e79fa55e63e2
|
@@ -100,13 +100,13 @@ Y(/^cancelo la reserva en el proveedor$/) do
|
|
100
100
|
begin
|
101
101
|
uri = URI.parse "http://backoffice.despegar.com/roma/transactions/#{@id_reserva}"
|
102
102
|
http = Net::HTTP.new(uri.host, uri.port)
|
103
|
-
http.read_timeout =
|
103
|
+
http.read_timeout = 30
|
104
104
|
req = Net::HTTP::Patch.new(uri.request_uri, headers)
|
105
105
|
req.body = body.to_json
|
106
106
|
respond_roma = http.request(req)
|
107
|
-
rescue Errno::ETIMEDOUT
|
108
|
-
|
109
|
-
end
|
107
|
+
# rescue Errno::ETIMEDOUT
|
108
|
+
# pending "No se pudo cancelar en roma"
|
109
|
+
# end
|
110
110
|
unless respond_roma.code.to_i==200
|
111
111
|
puts "No se pudo cancelar en roma"
|
112
112
|
respond_roma.code.to_i.should equal(200)
|
data/features/support/version.rb
CHANGED