Actions
Patch #37477
closedAdd missing fixture issue_categories to MyControllerTest
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