Commit 241cca01 authored by Sean McGivern's avatar Sean McGivern Committed by Alfredo Sumaran

Fix specs

parent 9727366b
...@@ -115,10 +115,10 @@ class ApplicationController < ActionController::Base ...@@ -115,10 +115,10 @@ class ApplicationController < ActionController::Base
def render_404 def render_404
respond_to do |format| respond_to do |format|
format.json { head :not_found } format.html do
format.any do
render file: Rails.root.join("public", "404"), layout: false, status: "404" render file: Rails.root.join("public", "404"), layout: false, status: "404"
end end
format.any { head :not_found }
end end
end end
......
...@@ -26,10 +26,10 @@ module TestEnv ...@@ -26,10 +26,10 @@ module TestEnv
'expand-collapse-lines' => '238e82d', 'expand-collapse-lines' => '238e82d',
'video' => '8879059', 'video' => '8879059',
'crlf-diff' => '5938907', 'crlf-diff' => '5938907',
'conflict-start' => '75284c7', 'conflict-start' => '824be60',
'conflict-resolvable' => '1450cd6', 'conflict-resolvable' => '1450cd6',
'conflict-binary-file' => '259a6fb', 'conflict-binary-file' => '259a6fb',
'conflict-contains-conflict-markers' => '5e0964c', 'conflict-contains-conflict-markers' => '78a3086',
'conflict-missing-side' => 'eb227b3', 'conflict-missing-side' => 'eb227b3',
'conflict-non-utf8' => 'd0a293c', 'conflict-non-utf8' => 'd0a293c',
'conflict-too-large' => '39fa04f', 'conflict-too-large' => '39fa04f',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment