summaryrefslogtreecommitdiff
path: root/spec/features/atom
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 /spec/features/atom
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 'spec/features/atom')
-rw-r--r--spec/features/atom/users_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/atom/users_spec.rb b/spec/features/atom/users_spec.rb
index dc41be8246f..de6aed74fb4 100644
--- a/spec/features/atom/users_spec.rb
+++ b/spec/features/atom/users_spec.rb
@@ -61,7 +61,7 @@ describe "User Feed", feature: true do
end
it 'should have XHTML summaries in merge request descriptions' do
- expect(body).to match /Here is the fix: <img[^>]*\/>/
+ expect(body).to match /Here is the fix: <a[^>]*><img[^>]*\/><\/a>/
end
end
end