README
Roteiro 3
Terceiro app -> https://terceiro-app-rails.herokuapp.com/
def inicio end, def ajuda end. Ambas vazias.
Páginas estáticas -> ajuda.html.erb, inicio.html.erb
14)2 testes. 1º should get inicio, 2º should get ajuda.
2 execuções, 2 assertions, 0 erros.
Error: PaginasEstaticasControllerTest#test_should_get_sobre: NameError: undefined local variable or method paginas_estaticas_sobre_url' for #<PaginasEstaticasControllerTest:0x00007fe96cd40b90> test/controllers/paginas_estaticas_controller_test.rb:15:in
block in class:PaginasEstaticasControllerTest'
Sim, Error: PaginasEstaticasControllerTest#test_should_get_sobre: AbstractController::ActionNotFound: The action 'sobre' could not be found for PaginasEstaticasController test/controllers/paginas_estaticas_controller_test.rb:15:in `block in class:PaginasEstaticasControllerTest'
Error: PaginasEstaticasControllerTest#test_should_get_sobre: ActionController::MissingExactTemplate: PaginasEstaticasController#sobre is missing a template for request formats: text/html test/controllers/paginas_estaticas_controller_test.rb:15:in `block in class:PaginasEstaticasControllerTest'
Não existe mais erro. 3 execuções, 3 assertions, 0 erros.
Roteiro 4
Os testes falham, exibindo 3 mensagens como esta:
Failure: PaginasEstaticasControllerTest#test_should_get_sobre [/home/matheus/Documentos/Backup-Linux/Dev/projeto-web-2/terceiro-app/test/controllers/paginas_estaticas_controller_test.rb:19]: Expected at least 1 element matching "title", found 0.. Expected 0 to be >= 1.
Os testes são executados com sucesso e não existem mais erros. 3 execuções, 6 assertions, 0 erros.
Os testes são executados com sucesso novamente e não existem mais erros. 3 execuções, 6 assertions, 0 erros.