Bunch of assert_tag tests failing in 3.99.3

Hey Scott and others,

First of all, excellent work! I just installed 3.99.3 and it looks
I’m so happy to have a sweet rails app to run the blog for my new rails
based site called Wamily.

Everything seems to be working fine, except I’m getting 6 failures out
rake. They’re all coming from ‘assert_tag’ tests. I’ve included the
from rake at the end of this email.

This could be because I installed Typo a little bit non-traditionally. I
used the installer on my windows machine and it worked fine, then I
up the whole directory and stuck it on my Dreamhost server, configured
with Apache, and it’s working fine in development mode (haven’t tried
production mode yet). Could the move from Windows to Linux mess this up?
Notice in the output from rake below the mysterious looking “\n” end of
characters in the HTML output there. Sounds to me like some character
incompatibility … Is that what’s making these tests fail?

Thanks for any suggestions,

And here’s the test output that failed …

Finished in 125.327245 seconds.

  1. Failure:
    expected tag, but no tag found matching
    :tag=>“h4”}, :child=>“A body”, :tag=>“p”}, :child=>“An extension”,
    :tag=>“p”} in:

    A title


    A body

    An extension

    is not true.
  2. Failure:
    expected tag, but no tag found matching {:after=>{:content=>nil,
    :tag=>“h4”}, :child=>“A body”, :tag=>“p”} in:


    A body

    is not true.
  3. Failure:
    expected tag, but no tag found matching {:after=>{:content=>nil,
    :tag=>“h4”}, :child=>“An extension”, :tag=>“p”} in:


    An extension

    is not true.
  4. Failure:
    expected tag, but no tag found matching {:children=>{:count=>7,
    :only=>{:children=>{:count=>3, :only=>{:tag=>/t[dh]/}}, :tag=>“tr”}},
    :tag=>“table”} in:

    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    Category titleArticlesDelete
    Software1 article
    Hardware1 article
src=\"/images/checked.gif?1153270877\" Personal4 articles
    Life On Marsno articles
src=\"/images/checked.gif?1153270877\" The Permalink doesn't match1 article
    this & that1 article
    ". is not true.
    1. Failure:
      expected tag, but no tag found matching {:children=>{:count=>6,
      :only=>{:attributes=>{:id=>/category_\d+/}, :tag=>“li”}},
      :attributes=>{:id=>“category_list”}, :tag=>“ul”} in:
      "<ul id=“category_list”>\n <li id=“category_1”>Software
    2. \n
  • Personal
  • \n
  • Life On Mars
  • \n
  • The Permalink doesn't match
  • \n
  • this & that
  • \n \n\n(Done)\n\n\n//\n". is not true.
    1. Failure:
      expected tag, but no tag found matching {:children=>{:count=>2,
      :only=>{:tag=>“li”}}, :attributes=>{:id=>“trackbackList”}, :tag=>“ol”}
      "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \" ... is not true.

    205 tests, 795 assertions, 6 failures, 0 errors
    rake aborted!
    Test failures

    (See full trace by running task with --trace)

    This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

    | Privacy Policy | Terms of Service | Remote Ruby Jobs