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 #1

Updated by Marius BĂLTEANU almost 5 years ago

  • Related to Feature #29914: Migrate to Rails 6.1 with Zeitwerk autoloading added
Actions #2

Updated by Go MAEDA over 4 years ago

  • Category set to Rails support
Actions #3

Updated by Marius BĂLTEANU over 3 years ago

  • Tracker changed from Patch to Defect
Actions #4

Updated by Go MAEDA over 3 years ago

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

Committed the patch as a part of #29914.

Actions

Also available in: Atom PDF