mardi 25 juillet 2017

rails 5 capybara test.log

I'm having trouble with a few test and I would like to see in test.log the requests there're being done. There's a config that I can change to register the requests in log like below?

Started GET "/carts" for 127.0.0.1 at 2017-07-25 19:09:55 -0300
  Processing by CartsController#show as HTML
  Rendering carts/show.html.erb within layouts/application
  Rendered layouts/_header.html.erb (1.5ms)
  Rendered layouts/_notice_modal.html.erb (1.2ms)
  Rendered carts/show.html.erb within layouts/application (8.9ms)
  Rendered layouts/_alert_modal.html.erb (0.7ms)
  Rendered layouts/_notice_modal.html.erb (0.4ms)
Completed 200 OK in 62ms (Views: 57.6ms | ActiveRecord: 0.0ms)

I'm using Rails 5.1.1, RSpec 3.6 and Capybara 2.14.4.

Thanks in advance for any help!

Aucun commentaire:

Enregistrer un commentaire