Use new renamed markup method
This commit is contained in:
parent
b6566277be
commit
bb7865276b
|
@ -1,3 +1,3 @@
|
|||
- blob = viewer.blob
|
||||
.file-content.wiki
|
||||
= render_markup(blob.name, blob.data)
|
||||
= markup(blob.name, blob.data)
|
||||
|
|
|
@ -479,6 +479,7 @@ describe 'Copy as GFM', feature: true, js: true do
|
|||
context 'from a blob' do
|
||||
before do
|
||||
visit namespace_project_blob_path(project.namespace, project, File.join('master', 'files/ruby/popen.rb'))
|
||||
wait_for_ajax
|
||||
end
|
||||
|
||||
context 'selecting one word of text' do
|
||||
|
@ -520,6 +521,7 @@ describe 'Copy as GFM', feature: true, js: true do
|
|||
context 'from a GFM code block' do
|
||||
before do
|
||||
visit namespace_project_blob_path(project.namespace, project, File.join('markdown', 'doc/api/users.md'))
|
||||
wait_for_ajax
|
||||
end
|
||||
|
||||
context 'selecting one word of text' do
|
||||
|
|
Loading…
Reference in New Issue