From dac0dceef991092b3bf71fb9e89ab95bf2933595 Mon Sep 17 00:00:00 2001 From: guilherme silveira Date: Thu, 21 Oct 2010 01:32:07 -0200 Subject: [PATCH] fixed from_xml unit tests --- spec/unit/common/converter/xml_spec.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/spec/unit/common/converter/xml_spec.rb b/spec/unit/common/converter/xml_spec.rb index c0d0bc94..6f6c252c 100644 --- a/spec/unit/common/converter/xml_spec.rb +++ b/spec/unit/common/converter/xml_spec.rb @@ -21,7 +21,6 @@ def initialize(name) describe "Feed" do it "should create a feed from builder DSL" do - pending time = Time.now some_articles = {:some_articles => [ {:id => 1, :title => "a great article", :updated => time}, @@ -61,8 +60,6 @@ def initialize(name) end it "should pluralize items on root and singularize on element" do - pending - time = Time.now some_articles = [Item.new("training"), Item.new("books")] @@ -86,7 +83,6 @@ def initialize(name) describe "Entry" do it "should use a default recipe extracting first root element that serializes an entire object if responds to to_xml" do - pending time = Time.now an_article = {:article => {:id => 1, :title => "a great article", :updated => time}} @@ -95,7 +91,6 @@ def initialize(name) end it "should use a default recipe that serializes an entire object if responds to to_xml" do - pending time = Time.now an_article = {:id => 1, :title => "a great article", :updated => time} @@ -104,7 +99,6 @@ def initialize(name) end it "should create an entry from builder DSL" do - pending an_article = {:article => {:id => 1, :title => "a great article"}} entry = to_xml(an_article) do |member, article| @@ -123,7 +117,6 @@ def initialize(name) end it "should be able to declare links inside values block" do - pending an_article = {:article => {:id => 1, :title => "a great article"}} entry = to_xml(an_article) do |member, article| @@ -147,8 +140,6 @@ def initialize(name) end it "should create an entry from an already declared recipe" do - pending - describe_recipe(:simple_entry) do |member, article| member.values do |values| values.id "uri:#{article[:article][:id]}"