Defect #32936

Rails 6: disable AJ test adapter for integration tests

Added by Pavel Rosický over 1 year ago. Updated 4 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:Rails support
Target version:-
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

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


Related issues

Related to Redmine - Feature #29914: Migrate to Rails 6.1 New

Associated revisions

Revision 20893
Added by Go MAEDA 4 months ago

Disable TestAdapter on IntegrationTest (#29914, #32936).

Patch by Pavel Rosický.

History

#1 Updated by Marius BALTEANU over 1 year ago

#2 Updated by Go MAEDA over 1 year ago

  • Category set to Rails support

#3 Updated by Marius BALTEANU 4 months ago

  • Tracker changed from Patch to Defect

#4 Updated by Go MAEDA 4 months ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch as a part of #29914.

Also available in: Atom PDF