Skip to content

Commit

Permalink
Arregla prueba de regresion para que cree asistente con turbo
Browse files Browse the repository at this point in the history
  • Loading branch information
vtamara committed Nov 15, 2023
1 parent fc376c7 commit c88e1dd
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
12 changes: 6 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ GIT

GIT
remote: https://gitlab.com/pasosdeJesus/heb412_gen.git
revision: 9d323f8019603a9cbe9929d9a9431955b0109d38
revision: 69bc34f6d7ed90cfe3fe00e0e21e94bffeb6e360
branch: main
specs:
heb412_gen (2.2.0.beta4)
Expand All @@ -29,7 +29,7 @@ GIT

GIT
remote: https://gitlab.com/pasosdeJesus/mr519_gen.git
revision: ef2c0c30e6febb851dec6e7e0a699155309e959e
revision: b03de0034224fc0588279ee418e06a0f9efc8272
branch: main
specs:
mr519_gen (2.2.0.beta4)
Expand All @@ -38,7 +38,7 @@ GIT

GIT
remote: https://gitlab.com/pasosdeJesus/msip.git
revision: 74665480f8ee89c6ef04c31116d090dfcb536625
revision: 44bfeb4374774206509a9bc9abc927ba27b71453
branch: main
specs:
msip (2.2.0.beta4)
Expand Down Expand Up @@ -214,7 +214,7 @@ GEM
i18n (1.14.1)
concurrent-ruby (~> 1.0)
io-console (0.6.0)
irb (1.8.3)
irb (1.9.0)
rdoc
reline (>= 0.3.8)
jbuilder (2.11.5)
Expand All @@ -225,7 +225,7 @@ GEM
json (2.6.3)
language_server-protocol (3.17.0.3)
libxml-ruby (4.1.2)
loofah (2.21.4)
loofah (2.22.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
mail (2.8.1)
Expand All @@ -248,7 +248,7 @@ GEM
minitest (>= 5.0)
ruby-progressbar
msgpack (1.7.2)
net-imap (0.4.4)
net-imap (0.4.5)
date
net-protocol
net-pop (0.1.2)
Expand Down
2 changes: 1 addition & 1 deletion bin/regresion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ echo "== Unificando resultados de pruebas en directorio clásico coverage"
mkdir -p coverage/
rm -rf coverage/{*,.*}

if (test "$rutaap" = "test/dummy/" -a "$RC" != "heb412_gen") then {
if (test "$rutaap" = "test/dummy/" -a "$RC" != "heb412_gen" -a "$RC" != "cor1440_gen" ) then {
${RAILS} app:msip:reporteregresion
} else {
${RAILS} msip:reporteregresion
Expand Down
4 changes: 2 additions & 2 deletions test/controllers/cor1440_gen/actividades_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ class ActividadesControllerTest < ActionDispatch::IntegrationTest
assert_response :success

np = Msip::Persona.count
get "#{nueva_asistencia_path}?actividad_id=#{@actividad.id}"
post cor1440_gen.crear_asistencia_path(0, format: :turbo_stream)
assert_response :success
assert_equal (np+1), Msip::Persona.count
#assert_equal (np+1), Msip::Persona.count

get contar_actividades_beneficiarios_path
assert_response :success
Expand Down
2 changes: 1 addition & 1 deletion test/dummy/.env.plantilla
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ if (test "$PUERTORECVIVA" = "") then { # Puerto para recarga viva
# Despliegue en modo producción con unicorn

if (test "$RC" = "") then {
export RC=cor1440
export RC=cor1440_gen
} fi;
if (test "$PUERTOUNICORN" = "") then {
export PUERTOUNICORN=3015
Expand Down
12 changes: 6 additions & 6 deletions test/dummy/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@
integrity sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==

"@rails/actioncable@^7.0":
version "7.1.1"
resolved "https://registry.yarnpkg.com/@rails/actioncable/-/actioncable-7.1.1.tgz#e8c49769d41f35a4473133c259cc98adc04dddf8"
integrity sha512-ZRJ9rdwFQQjRbtgJnweY0/4UQyxN6ojEGRdib0JkjnuIciv+4ok/aAeZmBJqNreTMaBqS0eHyA9hCArwN58opg==
version "7.1.2"
resolved "https://registry.yarnpkg.com/@rails/actioncable/-/actioncable-7.1.2.tgz#d261ff4b72844f5af496671346ec478798f4ac2c"
integrity sha512-KGziTZfbmGm8/fHOpj515xupbYU+49hsp4etfdpoDJ/CEY2bRZR0cyFcJkpK6n0t/sxOHNWY6bo9vSgXZvT7Mg==

"@rails/ujs@^7.0.1":
version "7.1.1"
resolved "https://registry.yarnpkg.com/@rails/ujs/-/ujs-7.1.1.tgz#f8df96e406a2a824084b637880e57c257073cb05"
integrity sha512-ywGwWNiqXN3Bb1BifVQTrkWEWcAGLHW3D0JNQMQeu57LsoluRzvnenNLPsmdoDPkrmSIASDXNsJiCIpUzFj8CA==
version "7.1.2"
resolved "https://registry.yarnpkg.com/@rails/ujs/-/ujs-7.1.2.tgz#ea903bcc0224e17156015d995b6f1b83e27d64b2"
integrity sha512-c5x02djEKEVVE4qfN4XgElJS4biM0xxtIVpcJ0ZHLK116U19rowTtmD0AJ/RCb3Xaewa4GPIWLlwgeC0dCQqzw==

"@types/parse-json@^4.0.0":
version "4.0.2"
Expand Down

0 comments on commit c88e1dd

Please sign in to comment.