Package assets (#1493)
* Package static assets * Fixed cancel button in editor * Fix rake compilation task * Add asset path helper * Serve MathJax statically * Fix mathjax in preview
This commit is contained in:
@@ -42,6 +42,11 @@ context "Frontend" do
|
||||
def nfd utf8
|
||||
TwitterCldr::Normalization.normalize(utf8, using: :nfd)
|
||||
end
|
||||
|
||||
test 'mathjax assets are served' do
|
||||
get '/gollum/assets/mathjax/MathJax.js'
|
||||
assert last_response.ok?
|
||||
end
|
||||
|
||||
test "UTF-8 headers href preserved" do
|
||||
page = 'utfh1'
|
||||
|
||||
Reference in New Issue
Block a user