Skip to content

test(#54): controller spec para EnvioFormulariosController - #70

Merged
Anarayssa-dev merged 3 commits into
sprint-3from
test/envio_formulario_controller
Jun 30, 2026
Merged

test(#54): controller spec para EnvioFormulariosController#70
Anarayssa-dev merged 3 commits into
sprint-3from
test/envio_formulario_controller

Conversation

@rafaelcarvalhoj

Copy link
Copy Markdown
Collaborator

Resumo

  • Adiciona spec/controllers/envio_formularios_controller_spec.rb com 25 exemplos cobrindo todos os fluxos do controller
  • 100% de cobertura de linhas em app/controllers/envio_formularios_controller.rb
  • Cobre autenticação, set_formulario, GET #new e POST #create (happy e sad paths)

Closes #54

Plano de testes

  • bundle exec rspec spec/controllers/envio_formularios_controller_spec.rb --format documentation → 25 examples, 0 failures
  • Verificar cobertura: app/controllers/envio_formularios_controller.rb aparece com 100% no relatório SimpleCov
  • bundle exec rspec → suite completa sem regressões

Copilot AI review requested due to automatic review settings June 30, 2026 00:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Anarayssa-dev Anarayssa-dev added this to the sprint-3 milestone Jun 30, 2026
@Anarayssa-dev
Anarayssa-dev merged commit 8e15736 into sprint-3 Jun 30, 2026
4 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Projeto EngSw - Grupo 1 Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Test] Cobertura > 90% em controllers/envio_formularios_controller.rb

3 participants