diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2014-08-11 08:50:56 +0200 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2014-08-11 08:50:56 +0200 |
commit | 99eb283101108f1f95e95ade8c1352f547578b26 (patch) | |
tree | ed682bc2303d6862af4f2dbd5dd764d7c1e36f31 /spec/helpers | |
parent | 0e3f8ea2ef2a7d6cc51ccb5d7ae854c6244b40eb (diff) | |
download | gitlab-ce-99eb283101108f1f95e95ade8c1352f547578b26.tar.gz |
Use readme we support to render if there are multiple readmes
Diffstat (limited to 'spec/helpers')
-rw-r--r-- | spec/helpers/tree_helper_spec.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/spec/helpers/tree_helper_spec.rb b/spec/helpers/tree_helper_spec.rb deleted file mode 100644 index 872dc2ebf31..00000000000 --- a/spec/helpers/tree_helper_spec.rb +++ /dev/null @@ -1,16 +0,0 @@ -require 'spec_helper' - -describe TreeHelper do - describe '#markup?' do - %w(textile rdoc org creole wiki mediawiki - rst adoc asciidoc asc).each do |type| - it "returns true for #{type} files" do - markup?("README.#{type}").should be_true - end - end - - it "returns false when given a non-markup filename" do - markup?('README.rb').should_not be_true - end - end -end |