[DRE-commits] [ruby-org] 132/303: Added test for Tilt support

Jérémy Bobbio lunar at alioth.debian.org
Fri Aug 9 17:33:43 UTC 2013


This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to branch master
in repository ruby-org.

commit 8474762202ddfd46a1134417311f3050532114c7
Author: Waldemar Quevedo <waldemar.quevedo at mail.rakuten.com>
Date:   Sat Mar 31 13:57:41 2012 +0900

    Added test for Tilt support
---
 spec/parser_spec.rb |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/spec/parser_spec.rb b/spec/parser_spec.rb
index a3b80e1..f22ba5f 100644
--- a/spec/parser_spec.rb
+++ b/spec/parser_spec.rb
@@ -146,6 +146,12 @@ describe Orgmode::Parser do
         actual.should be_kind_of(String)
         actual.should == expected
       end
+
+      it "should render #{basename}.org to HTML using Tilt templates" do
+        expected = IO.read(textile_name)
+        template = Tilt.new(file).render
+        template.should == expected
+      end
     end
   end
 end

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-org.git



More information about the Pkg-ruby-extras-commits mailing list