diff --git a/app/helpers/contextualization_result_helper.rb b/app/helpers/contextualization_result_helper.rb index bb446c31a..d4548f0f1 100644 --- a/app/helpers/contextualization_result_helper.rb +++ b/app/helpers/contextualization_result_helper.rb @@ -21,17 +21,8 @@ def contextualization_status(contextualization) end end - def render_test_result_title(test_result) - [test_result[:title].presence, test_result[:summary]].compact.join(': ') - end - def render_test_result_header(test_result) - %Q{ - - #{status_icon(test_result[:status])} - #{render_test_result_title test_result} - - }.html_safe + [test_result[:title].presence, test_result[:summary]].compact.join(': ').html_safe end def render_test_results(contextualization) diff --git a/app/helpers/icons_helper.rb b/app/helpers/icons_helper.rb index b18155c2e..e6a81d10c 100644 --- a/app/helpers/icons_helper.rb +++ b/app/helpers/icons_helper.rb @@ -39,10 +39,6 @@ def class_for_exercise(exercise) icon_class_for(exercise.assignment_for(current_user)) end - def status_class_for(status_like) - icon_class_for(status_like.to_submission_status) - end - def icon_class_for(iconizable) iconizable.iconize[:class].to_s end diff --git a/app/views/layouts/_test_results.html.erb b/app/views/layouts/_test_results.html.erb index 58ccdc167..9a2e5e2da 100644 --- a/app/views/layouts/_test_results.html.erb +++ b/app/views/layouts/_test_results.html.erb @@ -8,15 +8,24 @@