Project

General

Profile

Actions

Defect #32936

closed

Rails 6: disable AJ test adapter for integration tests

Added by Pavel Rosický almost 5 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Rails support
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

this workaround fixes

 Failure:
AccountTest#test_registered_user_should_be_able_to_get_a_new_activation_email [/redmine/test/integration/account_test.rb:451]:
"ActionMailer::Base.deliveries.size" didn't change by 1.
Expected: 1
  Actual: 0

it's probably a Rails bug - https://github.com/rails/rails/issues/37270


Files

test_helper.rb.patch (481 Bytes) test_helper.rb.patch Pavel Rosický, 2020-02-03 02:00

Related issues

Related to Redmine - Feature #29914: Migrate to Rails 6.1 with Zeitwerk autoloadingClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF