提交 24068596 编写于 作者: T Tim Zallmann

Fixed linting error with trailing space in rb

上级 3b2a909a
......@@ -14,7 +14,7 @@ module RendersBlob
return unless viewer
return {} if params[:html_render] == 'false'
return {} if params[:html_render] == 'false'
{
html: view_to_html_string("projects/blob/_viewer", viewer: viewer, load_async: false)
......
......@@ -70,7 +70,7 @@ describe Projects::BlobController do
it do
expect(response).to be_ok
expect(json_response).note_to have_key 'html'
expect(json_response).not_to have_key 'html'
end
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册