diff --git a/app/assets/javascripts/ajax-links.js b/app/assets/javascripts/ajax-links.js
index 1dd5fac..55ee365 100644
--- a/app/assets/javascripts/ajax-links.js
+++ b/app/assets/javascripts/ajax-links.js
@@ -1,7 +1,8 @@
-function handleAjaxResponse($el) {
+function handleAjaxResponse($el, callback) {
var $header = $('header');
$el.on("ajax:success", function(e, data){
$header.after('
diff --git a/test/controllers/admin/result_controller_test.rb b/test/controllers/admin/result_controller_test.rb
index 699517d..b186b41 100644
--- a/test/controllers/admin/result_controller_test.rb
+++ b/test/controllers/admin/result_controller_test.rb
@@ -19,5 +19,12 @@ module Admin
assert assigns(:quiz), "@quiz not present"
assert assigns(:status), "@status not present"
end
+
+ test "reviewer can view result for henry" do
+ auth_reviewer
+
+ get admin_result_url(candidates(:henry).test_hash)
+ assert_response :success
+ end
end
end