ds_test 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -2
- data/ds_test.gemspec +1 -1
- data/features/methods/actions_media.rb +3 -3
- data/features/quotamedia.feature +1 -1
- data/henry-context.yml +5 -18
- data/out.henry +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7b8fee1e02a31429e0c9c66944e6fb86280b94c
|
4
|
+
data.tar.gz: b9ad57f9f092a06a0640feaae58607690a88e041
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cb42f073c13edd5a021374f6da07a3bfcb63c4a84c1c1cd8049566750647b039914b3965e6a340e2c34868804c0a053322c64d2c152b23f5ea6b594a59d8355
|
7
|
+
data.tar.gz: f4917e601b3861fa04e31ccee6dc53d2ee857ec5666835e2fbc56cf9a34402d63c2cc7da8b5566d6c999fcf8b4048c84837c3bd3ad19bea04d595e42686b50ff
|
data/Gemfile.lock
CHANGED
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.
|
7
|
+
gem.version = "0.0.3"
|
8
8
|
gem.authors = ["DS QA"]
|
9
9
|
gem.email = ["jdelrio@despegar.com,smendoza@despegar.com"]
|
10
10
|
gem.description = %q{Test de Media}
|
@@ -8,9 +8,9 @@ end
|
|
8
8
|
def validar_media
|
9
9
|
#valida que no se este llegando al limite disponible en media
|
10
10
|
|
11
|
-
|
12
|
-
|
13
|
-
|
11
|
+
if @service.nil? or @service.empty? or @service.include? "Error"
|
12
|
+
puts "Hubo un error en la consulta de la quota de media".on_red
|
13
|
+
resultado=false
|
14
14
|
end
|
15
15
|
|
16
16
|
total = @service['data']['total']
|
data/features/quotamedia.feature
CHANGED
data/henry-context.yml
CHANGED
@@ -1,34 +1,21 @@
|
|
1
|
-
tasks:
|
2
|
-
- name: regresion_beta
|
3
|
-
class_name: Henry::Task::CucumberTask
|
4
|
-
options:
|
5
|
-
tags:
|
6
|
-
- mid
|
7
|
-
expand: true
|
8
|
-
reports:
|
9
|
-
- format: html
|
10
|
-
name: ${DATE}_${TASK_NAME}.html
|
11
1
|
|
12
2
|
tasks:
|
13
|
-
- name:
|
3
|
+
- name: pam_failed_bookings
|
14
4
|
class_name: Henry::Task::CucumberTask
|
15
5
|
options:
|
16
6
|
tags:
|
17
|
-
-
|
7
|
+
- pam_failed_bookings
|
18
8
|
expand: true
|
19
9
|
reports:
|
20
10
|
- format: html
|
21
11
|
name: ${DATE}_${TASK_NAME}.html
|
22
12
|
|
23
|
-
|
24
|
-
- name: pam_failed_bookings
|
13
|
+
- name: quota_media
|
25
14
|
class_name: Henry::Task::CucumberTask
|
26
15
|
options:
|
27
16
|
tags:
|
28
|
-
-
|
17
|
+
- quota_media
|
29
18
|
expand: true
|
30
19
|
reports:
|
31
20
|
- format: html
|
32
|
-
name: ${DATE}_${TASK_NAME}.html
|
33
|
-
|
34
|
-
|
21
|
+
name: ${DATE}_${TASK_NAME}.html
|
data/out.henry
CHANGED
@@ -0,0 +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.315s\n","backtrace":null},"log":{},"worker":"smendoza-ThinkPad-Edge","parameters":{"env":"rc"}}]]}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ds_test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DS QA
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: byebug
|