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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0e85e7edc5306622827199ddab09ad8a7e7e1cc3
4
- data.tar.gz: 9cb162c8a311f7acc6146a39fa8c9c937f7a9dc3
3
+ metadata.gz: b7b8fee1e02a31429e0c9c66944e6fb86280b94c
4
+ data.tar.gz: b9ad57f9f092a06a0640feaae58607690a88e041
5
5
  SHA512:
6
- metadata.gz: b91b62e4c419b127df55c0a41fd8ee5c7792799a9c021b80fbd3574d9093e51bb323fdf72f665b878ed191dcd7c3a96305c074b1aca270550373bd0559517adf
7
- data.tar.gz: b34c90ae44df9a122363400567192420f143abbb38450d39f390c1b72a1c22b9afdc1ec2161da3613b8171c68819946d28baddc3dff1a8c3be0c25f5f0e9b1fe
6
+ metadata.gz: 7cb42f073c13edd5a021374f6da07a3bfcb63c4a84c1c1cd8049566750647b039914b3965e6a340e2c34868804c0a053322c64d2c152b23f5ea6b594a59d8355
7
+ data.tar.gz: f4917e601b3861fa04e31ccee6dc53d2ee857ec5666835e2fbc56cf9a34402d63c2cc7da8b5566d6c999fcf8b4048c84837c3bd3ad19bea04d595e42686b50ff
data/Gemfile.lock CHANGED
@@ -1,13 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ds_test (0.0.1)
4
+ ds_test (0.0.2)
5
5
  henry-container
6
6
  hpricot
7
7
  httparty
8
8
  httpclient
9
9
  rest-client
10
- rspec
11
10
  watir-webdriver
12
11
 
13
12
  GEM
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.2"
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
- 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
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']
@@ -1,6 +1,6 @@
1
1
  #language: es
2
2
 
3
- @quotamedia
3
+ @quota_media
4
4
 
5
5
  Característica: Verificar la mediante servicio la quota de media, de este modo poder realizar una alarma cuando se llegue al límite
6
6
 
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: quotamedia
3
+ - name: pam_failed_bookings
14
4
  class_name: Henry::Task::CucumberTask
15
5
  options:
16
6
  tags:
17
- - quotamedia
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
- tasks:
24
- - name: pam_failed_bookings
13
+ - name: quota_media
25
14
  class_name: Henry::Task::CucumberTask
26
15
  options:
27
16
  tags:
28
- - pam_failed_bookings
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.2
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 00:00:00.000000000 Z
11
+ date: 2015-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug