# HG changeset patch # User Nattee Niparnan # Date 2019-10-10 12:17:50 # Node ID e1003a3daa2b3abfbed03ebdb3d3f07da2b19b1d # Parent df983f8fc960099477d3b9157dd0be825b5a981c fix test to match button name in create new list of user diff --git a/config/routes.rb b/config/routes.rb --- a/config/routes.rb +++ b/config/routes.rb @@ -147,7 +147,6 @@ get 'current_score(/:group_id)', action: 'current_score', as: 'current_score' get 'max_score' post 'show_max_score' - get 'problem_hof(/:id)', action: 'problem_hof', as: 'problem_hof' get 'stuck' get 'cheat_report' post 'cheat_report' diff --git a/test/system/users_test.rb b/test/system/users_test.rb --- a/test/system/users_test.rb +++ b/test/system/users_test.rb @@ -50,7 +50,7 @@ click_on 'New list of users', match: :first find(:css, 'textarea').fill_in with:"abc1,Boaty McBoatface,abcdef,alias1,remark1,\nabc2,Boaty2 McSecond,acbdef123,aias2,remark2" - click_on 'create users' + click_on 'Create following users' assert_text('remark1') assert_text('remark2')