Closed two-pack closed 5 years ago
This plugin test has following errors on r17516 of Redmine trunk.
$ bundle exec rake redmine:plugins:test NAME=redmine_auto_assign_group
Run options: --seed 36184
# Running:
..F
Failure:
AssignRulesControllerTest#test_destroy_with_invalid_id [/redmine/trunk/plugins/redmine_auto_assign_group/test/functional/assign_rules_controller_test_latest.rb:37]:
Expected response to be a <3XX: redirect>, but was a <422: Unprocessable Entity>
bin/rails test plugins/redmine_auto_assign_group/test/functional/assign_rules_controller_test_latest.rb:27
F
Failure:
AssignRulesControllerTest#test_destroy [/redmine/trunk/plugins/redmine_auto_assign_group/test/functional/assign_rules_controller_test_latest.rb:16]:
"AssignRule.count" didn't change by -1.
Expected: 6
Actual: 7
bin/rails test plugins/redmine_auto_assign_group/test/functional/assign_rules_controller_test_latest.rb:15
.............................
Finished in 67.444334s, 0.4893 runs/s, 2.4020 assertions/s.
33 runs, 162 assertions, 2 failures, 0 errors, 0 skips
Well, no problem on Travis-CI. https://travis-ci.org/two-pack/redmine_auto_assign_group/builds/432435266
I should specify RAILS_ENV=test . That errors is my misstake ;(
$ RAILS_ENV=test bundle exec rake redmine:plugins:test NAME=redmine_auto_assign_group
Run options: --seed 61798
# Running:
.................................
Finished in 31.402864s, 1.0509 runs/s, 5.3180 assertions/s.
33 runs, 167 assertions, 0 failures, 0 errors, 0 skips
Stable branch for 4.0.0 is created. I think enough to check for 4.0.0.
Released 4.0.0, 3.4.7, 3.3.9! http://www.redmine.org/news/119
Test on Redmine 4.0.0.