mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 21:25:39 +02:00
Improve mass action tests
This commit is contained in:
parent
b61fe5f7b4
commit
cfa44f7692
6 changed files with 18 additions and 10 deletions
|
@ -12,7 +12,7 @@ module Admin
|
|||
res = MassAction.process(params[:mass_action], params[:entry_list].path)
|
||||
notice = if res
|
||||
"#{params[:mass_action]} completed for #{res[:ok]}.\n" \
|
||||
"Failed: objects: #{res[:fail]}"
|
||||
"Failed: #{res[:fail]}"
|
||||
else
|
||||
"Dataset integrity validation failed for #{params[:mass_action]}"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue