ds_test 0.0.4 → 0.0.5

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: 13582c01368fc624804f0b8a15a4f56b772efdec
4
- data.tar.gz: c4918731ab8f6507c7650f1857f69aac6a2fd728
3
+ metadata.gz: 5bf276f4b7a04a46143606defbd1056e4a28980c
4
+ data.tar.gz: 863c1a2aa4bf698d05b4be3f92c31ce0bf72957f
5
5
  SHA512:
6
- metadata.gz: dc9fcf3fee3adf13cba37b5138c4b5f32dbac15bf455e2342ff677c3037b688eeba739b4907452d5f2594f467f4500a38e16b049d36372afb7c749264d432026
7
- data.tar.gz: e00d71d930318bf484c530d919ec185592290d564883c4580fc217b7d7f53bfc279bd53194cf9f66b877b5e1aab8f1fdd8e9cd43826f87bd04118fc54f7c1c63
6
+ metadata.gz: f28e020fe7eb32fe92b7a1db6a0257e7b375f3ce061d804047d78a7432642530a0866eb6f63f137b0ef7e5bb092c19ccac4c3fc589a6b024bc0b8a88191cff42
7
+ data.tar.gz: 74acaf9fe507b688fb8e223d3d3a600da97c7f7335b5ecb22b4286c87b552b4a4edb0f323fef26deed3537747596ecc7da273fafb0518b303e3e1e89287bf9a9
data/.gitignore ADDED
@@ -0,0 +1,22 @@
1
+ .henry/
2
+ log/
3
+ *.gem
4
+ *.rbc
5
+ .bundle
6
+ .config
7
+ .yardoc
8
+ Gemfile.lock
9
+ InstalledFiles
10
+ _yardoc
11
+ coverage
12
+ doc/
13
+ lib/bundler/man
14
+ pkg
15
+ rdoc
16
+ spec/reports
17
+ test/tmp
18
+ test/version_tmp
19
+ tmp
20
+ *.out
21
+ output/
22
+ out.henry
data/Rakefile CHANGED
@@ -11,6 +11,6 @@ Cucumber::Rake::Task.new(:quotamedia) do |task|
11
11
  task.cucumber_opts = ["#{parametros} log/quotamedia#{t}.html --tags @quotamedia"]
12
12
  end
13
13
 
14
- Cucumber::Rake::Task.new(:PAMFailedBookings) do |task|
15
- task.cucumber_opts = ["#{parametros} log/PAMFailedBookings#{t}.html --tags @PAMFailedBookings"]
14
+ Cucumber::Rake::Task.new(:pam_failed_bookings) do |task|
15
+ task.cucumber_opts = ["#{parametros} log/PAMFailedBookings#{t}.html --tags @pam_failed_bookings"]
16
16
  end
data/cucumber.out CHANGED
@@ -1,12 +1,12 @@
1
1
  #language: es
2
- @quota_media
3
- Característica: Verificar la mediante servicio la quota de media, de este modo poder realizar una alarma cuando se llegue al límite
2
+ @pam_failed_bookings
3
+ Característica: Consultar el servicio de bookings fallidos de PAM para ver si existe alguno y generar una alarma para alertar de la situación.
4
4
 
5
- Escenario: Invocar el servicio de quota media validando que el valor de used sea inferior al de total. # features/quotamedia.feature:7
6
- Dado que invoco al servicio de quota de media # features/step_definitions/servicios_steps.rb:3
7
- Entonces verifico el estado de la quota # features/step_definitions/servicios_steps.rb:7
8
- Todo bien
5
+ Escenario: Invocar el servicio de bookings fallidos de PAM validadndo que existan o no entradas. # features/PAMFailedBookings.feature:7
6
+ Dado que invoco al servicio de bookings fallidos de PAM # features/step_definitions/PAMFailedBookings_steps.rb:3
7
+ Entonces checkeo si hay bookings fallidos # features/step_definitions/PAMFailedBookings_steps.rb:7
8
+ No hay reservas fallidas en PAM
9
9
 
10
10
  1 scenario (1 passed)
11
11
  2 steps (2 passed)
12
- 0m0.821s
12
+ 0m0.322s
data/ds_test.gemspec CHANGED
@@ -4,7 +4,7 @@ $:.push File.expand_path("../lib", __FILE__)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = "ds_test"
7
- gem.version = "0.0.4"
7
+ gem.version = "0.0.5"
8
8
  gem.authors = ["DS QA"]
9
9
  gem.email = ["jdelrio@despegar.com,smendoza@despegar.com"]
10
10
  gem.description = %q{Test de Media}
@@ -29,6 +29,8 @@ def checkear_respuesta
29
29
 
30
30
  puts "Hay #{items.size} reserva(s) fallidas en PAM"
31
31
 
32
+ puts items
33
+
32
34
  resultado = false
33
35
 
34
36
  else
data/hints.henry CHANGED
@@ -1 +1 @@
1
- {"tasks":["regresion_beta"]}
1
+ {"tasks":["pam_failed_bookings"]}
data/out.henry CHANGED
@@ -1 +1 @@
1
- {"summary":{"total":1,"breakdownByStatusCode":{"OK":1,"ERROR":0,"WARNING":0}},"tasks":[[{"name":"quota_media","code":"OK","message":"OK","returnedData":{"output":"#language: es\n\u001b[36m@quota_media\u001b[0m\nCaracterística: Verificar la mediante servicio la quota de media, de este modo poder realizar una alarma cuando se llegue al límite\n\n Escenario: Invocar el servicio de quota media validando que el valor de used sea inferior al de total.\u001b[90m # features/quotamedia.feature:7\u001b[0m\n \u001b[32mDado que invoco al servicio de quota de media\u001b[90m # features/step_definitions/servicios_steps.rb:3\u001b[0m\u001b[0m\n \u001b[32mEntonces verifico el estado de la quota\u001b[90m # features/step_definitions/servicios_steps.rb:7\u001b[0m\u001b[0m\n \u001b[36mTodo bien\u001b[0m\n\n1 scenario (\u001b[32m1 passed\u001b[0m)\n2 steps (\u001b[32m2 passed\u001b[0m)\n0m0.821s\n","backtrace":null},"log":{},"worker":"jdelrio-530U3C-530U4C","parameters":{"env":"rc"}}]]}
1
+ {"summary":{"total":1,"breakdownByStatusCode":{"OK":1,"ERROR":0,"WARNING":0}},"tasks":[[{"name":"pam_failed_bookings","code":"OK","message":"OK","returnedData":{"output":"#language: es\n\u001b[36m@pam_failed_bookings\u001b[0m\nCaracterística: Consultar el servicio de bookings fallidos de PAM para ver si existe alguno y generar una alarma para alertar de la situación.\n\n Escenario: Invocar el servicio de bookings fallidos de PAM validadndo que existan o no entradas.\u001b[90m # features/PAMFailedBookings.feature:7\u001b[0m\n \u001b[32mDado que invoco al servicio de bookings fallidos de PAM\u001b[90m # features/step_definitions/PAMFailedBookings_steps.rb:3\u001b[0m\u001b[0m\n \u001b[32mEntonces checkeo si hay bookings fallidos\u001b[90m # features/step_definitions/PAMFailedBookings_steps.rb:7\u001b[0m\u001b[0m\n \u001b[36mNo hay reservas fallidas en PAM\u001b[0m\n\n1 scenario (\u001b[32m1 passed\u001b[0m)\n2 steps (\u001b[32m2 passed\u001b[0m)\n0m0.322s\n","backtrace":null},"log":{},"worker":"smendoza-ThinkPad-Edge","parameters":{"env":"rc"}}]]}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ds_test
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - DS QA
@@ -185,9 +185,7 @@ executables: []
185
185
  extensions: []
186
186
  extra_rdoc_files: []
187
187
  files:
188
- - ".henry/reports/html/2015-08-04T112600_quotamedia.html"
189
- - ".henry/reports/html/2015-08-04T112810_quotamedia.html"
190
- - ".henry/reports/html/2015-08-04T113147_quotamedia.html"
188
+ - ".gitignore"
191
189
  - Gemfile
192
190
  - Gemfile.lock
193
191
  - README.md
@@ -206,8 +204,6 @@ files:
206
204
  - hints.henry.pamfailedbookings
207
205
  - hints.henry.quotamedia
208
206
  - in.henry
209
- - log/quotamedia040820151117.html
210
- - log/quotamedia290720151556.html
211
207
  - out.henry
212
208
  homepage:
213
209
  licenses: []