flights_gui_tests 1.8.8 → 1.8.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/features/step_definitions/thanks/thanks_steps.rb +5 -5
- data/features/support/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: beb9b5a68f1fb7644df1bd1af26826920e40b667
|
4
|
+
data.tar.gz: 68c9195f9fbd7534b9c7d740c34e9809def2971e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 508a5f996ba8da4ede2ef10d5c264ee148548c4780084869eda04aa3d2fd5da1a892efddf655755fd85ea46a7b1440000c82ea953592a5145d1759077cf5addd
|
7
|
+
data.tar.gz: 4c3944a70de62bf9928d5b1a5ed23a1e4012dfac6f034e7482dcfc387fefadb16187bb585294e0be5b26b1d1f61b6c8435989687bb8d12451ac4547eb5fde66c
|
@@ -97,16 +97,16 @@ Y(/^cancelo la reserva en el proveedor$/) do
|
|
97
97
|
headers["X-UOW"] = "test"
|
98
98
|
headers["X-Client"] = "test"
|
99
99
|
body = {"status"=>"CANCELLED","reason"=>"Reserva de prueba"}
|
100
|
-
|
101
|
-
uri = URI.parse "http://
|
100
|
+
begin
|
101
|
+
uri = URI.parse "http://10.2.7.6/roma/transactions/#{@id_reserva}"
|
102
102
|
http = Net::HTTP.new(uri.host, uri.port)
|
103
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
|
-
|
108
|
-
|
109
|
-
|
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