Why consider_all_requests_local fails with rspec config

后端 未结 4 1580
名媛妹妹
名媛妹妹 2021-01-04 12:00

rspec-rails (2.7.0) rails (3.0.10) post: Rails 3.1 Error Catching is irrelevant for me.

Code:

class ApplicationController < ActionController::Base         


        
4条回答
  •  耶瑟儿~
    2021-01-04 12:23

    I found that with cucumber-rails the right way of doing it is to add the @allow-rescue tag.

提交回复
热议问题