Project

General

Profile

Actions

Patch #37477

closed

Add missing fixture issue_categories to MyControllerTest

Added by Go MAEDA over 2 years ago. Updated over 2 years ago.

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

0%

Estimated time:

Description

$ bin/rake db:reset
$ bin/rails test test/functional/my_controller_test.rb
Run options: --seed 44987

# Running:

.....................E

Error:
MyControllerTest#test_page_with_watched_issues_block_should_not_show_issues_from_closed_projects:
ActiveRecord::RecordInvalid: Validation failed: Category is not included in the list
    test/functional/my_controller_test.rb:355:in `test_page_with_watched_issues_block_should_not_show_issues_from_closed_projects'

rails test test/functional/my_controller_test.rb:347

.....................E

Error:
MyControllerTest#test_page_with_reported_issues_block_should_not_show_issues_from_closed_projects:
ActiveRecord::RecordInvalid: Validation failed: Category is not included in the list
    test/functional/my_controller_test.rb:327:in `test_page_with_reported_issues_block_should_not_show_issues_from_closed_projects'

rails test test/functional/my_controller_test.rb:319

E

Error:
MyControllerTest#test_page_with_assigned_issues_block_should_not_show_issues_from_closed_projects:
ActiveRecord::RecordInvalid: Validation failed: Category is not included in the list
    test/functional/my_controller_test.rb:299:in `test_page_with_assigned_issues_block_should_not_show_issues_from_closed_projects'

rails test test/functional/my_controller_test.rb:291

.....
Actions

Also available in: Atom PDF