two-pack / redmine_auto_assign_group

Redmine Auto Assign Group Plugin
GNU General Public License v2.0
10 stars 1 forks source link

Test on Redmine 4.0.0, 3.4.7, 3.3.9 #7

Closed two-pack closed 5 years ago

two-pack commented 6 years ago

Test on Redmine 4.0.0.

two-pack commented 6 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
two-pack commented 6 years ago

Well, no problem on Travis-CI. https://travis-ci.org/two-pack/redmine_auto_assign_group/builds/432435266

two-pack commented 6 years ago

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
two-pack commented 5 years ago

Stable branch for 4.0.0 is created. I think enough to check for 4.0.0.

two-pack commented 5 years ago

Released 4.0.0, 3.4.7, 3.3.9! http://www.redmine.org/news/119