Use new renamed markup method

This commit is contained in:
Douwe Maan 2017-04-27 14:54:20 -05:00
parent b6566277be
commit bb7865276b
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,3 @@
- blob = viewer.blob
.file-content.wiki
= render_markup(blob.name, blob.data)
= markup(blob.name, blob.data)

View File

@ -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