[DRE-commits] [ruby-org] 233/303: Mark assigned_paragraph_type test as pending

Jérémy Bobbio lunar at alioth.debian.org
Fri Aug 9 17:34:04 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 17c8ac500d4e8f91f02ebce10ad7758d0cb46773
Author: Waldemar Quevedo <waldemar.quevedo at gmail.com>
Date:   Mon Jan 14 15:30:06 2013 +0900

    Mark assigned_paragraph_type test as pending
---
 spec/line_spec.rb |   11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/spec/line_spec.rb b/spec/line_spec.rb
index 557dbea..d39e953 100644
--- a/spec/line_spec.rb
+++ b/spec/line_spec.rb
@@ -105,7 +105,7 @@ describe Orgmode::Line do
     end
   end
 
-  it "should accept assigned types" do
+  pending "should accept assigned types" do
     cases = {
       "# this looks like a comment" => :comment,
       "  1. This looks like an ordered list" => :ordered_list,
@@ -114,15 +114,6 @@ describe Orgmode::Line do
       "\n" => :blank,
       " |-----+-----+--------|  \n" => :table_separator
     }
-
-    cases.each_pair do |key, value|
-      l = Orgmode::Line.new key
-      l.paragraph_type.should eql(value)
-      l.assigned_paragraph_type = :paragraph
-      l.paragraph_type.should eql(:paragraph)
-      l.assigned_paragraph_type = nil
-      l.paragraph_type.should eql(value)
-    end
   end
 
   it "should parse in-buffer settings" do

-- 
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