diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2014-08-11 10:50:56 +0400 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2014-08-11 10:50:56 +0400 |
commit | 99eb283101108f1f95e95ade8c1352f547578b26 (patch) | |
tree | ed682bc2303d6862af4f2dbd5dd764d7c1e36f31 /spec/helpers/tree_helper_spec.rb | |
parent | 0e3f8ea2ef2a7d6cc51ccb5d7ae854c6244b40eb (diff) |
Use readme we support to render if there are multiple readmes
Diffstat (limited to 'spec/helpers/tree_helper_spec.rb')
-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 |