Project

General

Profile

Actions

Patch #35413

closed

Add missing fixtures to ActivitiesControllerTest

Added by Yuichi HARADA over 3 years ago. Updated over 3 years ago.

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

0%

Estimated time:

Description

ActivitiesControllerTest has failed.

% RAILS_ENV=test bundle exec rake db:migrate:reset

% RAILS_ENV=test bundle exec rake test TEST=test/functional/activities_controller_test.rb
Run options: --seed 56469

# Running:

.........F

Failure:
ActivitiesControllerTest#test_index_atom_feed_should_respect_feeds_limit_setting [test/functional/activities_controller_test.rb:139]:
Expected exactly 20 elements matching "entry", found 12..
Expected: 20
  Actual: 12

rails test test/functional/activities_controller_test.rb:128

.......

Finished in 2.293125s, 7.4135 runs/s, 24.4208 assertions/s.
17 runs, 56 assertions, 1 failures, 0 errors, 0 skips

Files

35413.patch (625 Bytes) 35413.patch Yuichi HARADA, 2021-06-14 05:00

Related issues

Related to Redmine - Defect #34933: Atom feed of the activity page does not contain items after the second pageClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF