Feature #29914 » 0014-Disable-TestAdapter-on-IntegrationTest-29914-32936.patch
| test/test_helper.rb | ||
|---|---|---|
| 392 | 392 | 
    end  | 
| 393 | 393 | |
| 394 | 394 | 
    class IntegrationTest < ActionDispatch::IntegrationTest  | 
| 395 | 
    def setup  | 
|
| 396 | 
    ActionMailer::MailDeliveryJob.disable_test_adapter  | 
|
| 397 | 
    super  | 
|
| 398 | 
    end  | 
|
| 399 | ||
| 395 | 400 | 
    def log_user(login, password)  | 
| 396 | 401 | 
    User.anonymous  | 
| 397 | 402 | 
    get "/login"  |