I’m hoping someone else has run across the failures below and know how
they might be addressed before I go much further.
I’ve narrowed the failures down to two extensions I’m using, the
reorder and assets extensions. The StandardTagsTest fails due to the
reorder extension being added and the ExtensionInitializationTest
doesn’t seem to recognize when an extension adds an admin tab.
I suspect there may be a conflict between the core Radiant tests and
the extensions since everything appears to be working fine in
development and production environments. And it seems like this kind
of conflict might be inevitable for some tests if an extension alters
core behavior, so I’m curious about how folks are avoiding that.
Thanks,
Victor
-
Failure:
test_tag_children_each_attributes(StandardTagsTest)
[/opt/local/lib/ruby/gems/1.8/gems/radiant-0.6.1/test/helpers/render_test_helper.rb:5:in
assert_renders' /opt/local/lib/ruby/gems/1.8/gems/radiant-0.6.1/test/unit/standard_tags_test.rb:34:in
test_tag_children_each_attributes’]:
<"a b c d e f g h i j "> expected but was <"j b c d e f g h i a "> -
Failure:
test_tag_children_each_with_status_attribute(StandardTagsTest)
[/opt/local/lib/ruby/gems/1.8/gems/radiant-0.6.1/test/helpers/render_test_helper.rb:12:in
assert_render_match' /opt/local/lib/ruby/gems/1.8/gems/radiant-0.6.1/test/unit/standard_tags_test.rb:43:in
test_tag_children_each_with_status_attribute’]:
<"j a b c d e f g h i draft "> expected to be =~ </^(draft |)a b c d e
f g h i j( draft|) $/> -
Failure:
test_tag_children_first_parameters(StandardTagsTest)
[/opt/local/lib/ruby/gems/1.8/gems/radiant-0.6.1/test/helpers/render_test_helper.rb:5:in
assert_renders' /opt/local/lib/ruby/gems/1.8/gems/radiant-0.6.1/test/unit/standard_tags_test.rb:103:in
test_tag_children_first_parameters’]:
<“a”> expected but was <“j”> -
Failure:
test_tag_children_last_parameters(StandardTagsTest)
[/opt/local/lib/ruby/gems/1.8/gems/radiant-0.6.1/test/helpers/render_test_helper.rb:5:in
assert_renders' /opt/local/lib/ruby/gems/1.8/gems/radiant-0.6.1/test/unit/standard_tags_test.rb:120:in
test_tag_children_last_parameters’]:
<“j”> expected but was <“a”> -
Failure:
test_tag_parent(StandardTagsTest)
[/opt/local/lib/ruby/gems/1.8/gems/radiant-0.6.1/test/helpers/render_test_helper.rb:5:in
assert_renders' /opt/local/lib/ruby/gems/1.8/gems/radiant-0.6.1/test/unit/standard_tags_test.rb:389:in
test_tag_parent’]:
<“DocumentationPage With Content Type Set On LayoutAnother Page With
LayoutGalleryInheritance Test PageSmall TestPage with YAML configTest
PageNews ArchivesAssorted RootNo CacheArchiveParentPage With
LayoutRadius Test PageTextile”> expected but was <“Another Page With
LayoutArchiveAssorted RootDocumentationGalleryInheritance Test
PageNews ArchivesNo CachePage With Content Type Set On LayoutPage With
LayoutPage with YAML configParentRadius Test PageSmall TestTest
PageTextile”>
298 tests, 629 assertions, 5 failures, 0 errors
-
Failure:
test_reactivate(ExtensionInitializationTest)
[/opt/local/lib/ruby/gems/1.8/gems/radiant-0.6.1/test/functional/extension_initialization_test.rb:68:in
assert_admin_tabs' /opt/local/lib/ruby/gems/1.8/gems/radiant-0.6.1/test/functional/extension_initialization_test.rb:42:in
test_reactivate’]:
<4> expected but was
<5>. -
Failure:
test_reloading(ExtensionInitializationTest)
[/opt/local/lib/ruby/gems/1.8/gems/radiant-0.6.1/test/functional/extension_initialization_test.rb:68:in
assert_admin_tabs' /opt/local/lib/ruby/gems/1.8/gems/radiant-0.6.1/test/functional/extension_initialization_test.rb:24:in
test_reloading’]:
<4> expected but was
<5>.
116 tests, 491 assertions, 2 failures, 0 errors