summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorconnorshea <connor.james.shea@gmail.com>2016-03-30 16:03:49 -0600
committerconnorshea <connor.james.shea@gmail.com>2016-04-04 19:44:07 -0600
commitb9abf938edf52e762d320b1eb8732155e23d7b72 (patch)
treefa58191817cb644a1eeb969b23e1d2cc58e654cb /features
parent67136007933425414293602bc75d2ba4822f2a93 (diff)
downloadgitlab-ce-b9abf938edf52e762d320b1eb8732155e23d7b72.tar.gz
Wrap images in discussions and wikis with a link to the image source using ImageLinkFilter.
Resolves #14411. See merge request !3464
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/wiki.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/project/wiki.rb b/features/steps/project/wiki.rb
index 223b7277b51..9f6aed1c5b9 100644
--- a/features/steps/project/wiki.rb
+++ b/features/steps/project/wiki.rb
@@ -85,7 +85,7 @@ class Spinach::Features::ProjectWiki < Spinach::FeatureSteps
end
step 'I have an existing Wiki page with images linked on page' do
- wiki.create_page("pictures", "Look at this [image](image.jpg)\n\n ![image](image.jpg)", :markdown, "first commit")
+ wiki.create_page("pictures", "Look at this [image](image.jpg)\n\n ![alt text](image.jpg)", :markdown, "first commit")
@wiki_page = wiki.find_page("pictures")
end