diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2015-08-12 15:29:00 -0400 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2015-08-12 15:29:15 -0400 |
commit | 013260e057068ecc1e5330156d95bb7fbe996575 (patch) | |
tree | d1a69797aba1ac62ff8297ff9cc2a5d74f219c83 /spec | |
parent | cd579cb2ff45f3fc1513bb6ea74b53a2229276ae (diff) | |
download | gitlab-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.rb | 2 |
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 |