summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2015-08-12 15:29:00 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2015-08-12 15:29:15 -0400
commit013260e057068ecc1e5330156d95bb7fbe996575 (patch)
treed1a69797aba1ac62ff8297ff9cc2a5d74f219c83 /spec
parentcd579cb2ff45f3fc1513bb6ea74b53a2229276ae (diff)
downloadgitlab-ce-013260e057068ecc1e5330156d95bb7fbe996575.tar.gz
markup_helper: detect .mkd and .mkdn as markdown
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/gitlab/markup_helper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/markup_helper_spec.rb b/spec/lib/gitlab/markup_helper_spec.rb
index 7e716e866b1..e610fab05da 100644
--- a/spec/lib/gitlab/markup_helper_spec.rb
+++ b/spec/lib/gitlab/markup_helper_spec.rb
@@ -15,7 +15,7 @@ describe Gitlab::MarkupHelper do
end
describe '#gitlab_markdown?' do
- %w(mdown md markdown).each do |type|
+ %w(mdown mkd mkdn md markdown).each do |type|
it "returns true for #{type} files" do
expect(Gitlab::MarkupHelper.gitlab_markdown?("README.#{type}")).to be_truthy
end