public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/technoweenie/mephisto.git
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
fix failing atom tests [Chris McGrath]

git-svn-id: http://svn.techno-weenie.net/projects/mephisto/trunk@2941 
567b1171-46fb-0310-a4c9-b4bef9110e78
technoweenie (author)
Wed Aug 08 17:54:08 -0700 2007
commit  dab37b1e2ada5cd4f73773340e9d49c30095b7e9
tree    3f506049a53b7b5b79b187b0997ee45a5aea417c
parent  bf2f2014bfe3fa84b7af5de3f98b9483d9a9c49d
...
173
174
175
176
 
177
178
179
...
173
174
175
 
176
177
178
179
0
@@ -173,7 +173,7 @@ class Test::Unit::TestCase
0
   end
0
 
0
   def assert_atom_entries_size(entries)
0
- assert_equal 1, get_xpath(%{/feed[@xmlns="http://www.w3.org/2005/Atom" and count(child::entry)=#{entries}]}).size, "Atom 1.0 feed has wrong number of feed/entry nodes"
0
+ assert_equal 1, get_xpath(%{/feed[count(child::entry)=#{entries}]}).size, "Atom 1.0 feed has wrong number of feed/entry nodes"
0
   end
0
 
0
   # Sets the current user in the session from the user fixtures.

Comments

    No one has commented yet.