[DRE-commits] [ruby-org] 232/303: Modify paragraph_type symbol returned for list_item

Jérémy Bobbio lunar at alioth.debian.org
Fri Aug 9 17:34:03 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 bac6e704de2ee5a2529d296c4d14a8300b952957
Author: Waldemar Quevedo <waldemar.quevedo at gmail.com>
Date:   Mon Jan 14 13:26:43 2013 +0900

    Modify paragraph_type symbol returned for list_item
---
 spec/line_spec.rb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spec/line_spec.rb b/spec/line_spec.rb
index e63a5c4..557dbea 100644
--- a/spec/line_spec.rb
+++ b/spec/line_spec.rb
@@ -74,8 +74,8 @@ describe Orgmode::Line do
 
   it "should return paragraph type" do
     Orgmode::Line.new("").paragraph_type.should eql(:blank)
-    Orgmode::Line.new("1. foo").paragraph_type.should eql(:ordered_list)
-    Orgmode::Line.new("- [ ] checkbox").paragraph_type.should eql(:unordered_list)
+    Orgmode::Line.new("1. foo").paragraph_type.should eql(:list_item)
+    Orgmode::Line.new("- [ ] checkbox").paragraph_type.should eql(:list_item)
     Orgmode::Line.new("hello!").paragraph_type.should eql(:paragraph)
   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