summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-04-27 14:54:20 -0500
committerDouwe Maan <douwe@selenight.nl>2017-04-27 14:54:20 -0500
commitbb7865276bb9adfe34755c3ea358e4951ec37d6f (patch)
tree6e0b313177dbc1c924684b260c79cd0b34b15020 /spec/features
parentb6566277be7ef91cd998f48a229e1e95d01397f3 (diff)
downloadgitlab-ce-bb7865276bb9adfe34755c3ea358e4951ec37d6f.tar.gz
Use new renamed markup methoddm-blob-viewers
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/copy_as_gfm_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/features/copy_as_gfm_spec.rb b/spec/features/copy_as_gfm_spec.rb
index 344e31e5ef5..f197fb44608 100644
--- a/spec/features/copy_as_gfm_spec.rb
+++ b/spec/features/copy_as_gfm_spec.rb
@@ -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