FIX: Add test to confirm updating category works.

Also replaces a missing translation key that 99.9% of users would never
see.
This commit is contained in:
Robin Ward
2019-05-01 11:36:48 -04:00
parent 7869a10d18
commit da0e37512a
3 changed files with 14 additions and 0 deletions

View File

@ -15,6 +15,7 @@ class Reviewable < ActiveRecord::Base
{
approve: Action.new(:approve, 'thumbs-up', 'reviewables.actions.approve.title'),
reject: Action.new(:reject, 'thumbs-down', 'reviewables.actions.reject.title'),
delete: Action.new(:delete, 'trash-alt', 'reviewables.actions.delete_single.title')
}
end