Project

General

Profile

Actions

Defect #29990

closed

Add missing fixtures for test_create_should_send_notification

Added by Marius BĂLTEANU over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

The bellow test fails when it is run in isolation

Failure:
CommentTest#test_create_should_send_notification [/builds/marius-balteanu/redmine/test/unit/comment_test.rb:39]:
"ActionMailer::Base.deliveries.size" didn't change by 2.
Expected: 2
  Actual: 1

bin/rails test test/unit/comment_test.rb:35

Attached a patch that adds the missing fixtures.


Files

add_missing_fixtures.patch (562 Bytes) add_missing_fixtures.patch Marius BĂLTEANU, 2018-11-17 19:44

Related issues

Copied to Redmine - Defect #30054: Add missing fixtures for test_create_with_one_attachmentClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF