Capybara: exception trace in log

后端 未结 2 435
我在风中等你
我在风中等你 2021-02-05 03:49

While running integration tests in capybara, having app raise an exception (500 error; is rendered in browser) there\'s no stack trace in test.log file. Here\'s the

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-05 04:28

    Go examine your config/environments/test.rb to find the line:

    config.action_dispatch.show_exceptions = false
    

    And change it to true.

提交回复
热议问题