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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ce7206ac96a869959c52de8c663b05d86d9fd7f
4
- data.tar.gz: ecf3b77ac8917d155d6adc5a0d7f26158a241961
3
+ metadata.gz: beb9b5a68f1fb7644df1bd1af26826920e40b667
4
+ data.tar.gz: 68c9195f9fbd7534b9c7d740c34e9809def2971e
5
5
  SHA512:
6
- metadata.gz: 96cd4700a58899c06a45fc0363e72f9e2d85dc5790b0bc7e754cc978f72824116955f40e097ad2874b3ab50084858b917e09f657a8bfd98d409411533e867091
7
- data.tar.gz: 887784cebe137828d66d85789840b0511a0ca61fd8cfab88ad9dec30660556bdfa6e04a9da4f13efca14a108a056c59f7d89dd59d15faa633231f5555924c9d2
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
- # begin
101
- uri = URI.parse "http://backoffice.despegar.com/roma/transactions/#{@id_reserva}"
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
- # rescue Errno::ETIMEDOUT
108
- # pending "No se pudo cancelar en roma"
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)
@@ -1,3 +1,3 @@
1
1
  module FlightsGui
2
- VERSION = "1.8.8"
2
+ VERSION = "1.8.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.8.8
4
+ version: 1.8.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez