Marko
A little more progress.
I ran...
ruby script/test-adva-cms -p
Preparing the database ...
/opt/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load -- /Users/alan/git/
adva_development/vendor/engines/adva_cms/test/test_helper
(MissingSourceFile)
from /opt/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /opt/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/
active_support/dependencies.rb:158:in `require'
from /Users/alan/git/adva_development/vendor/plugins/adva_cells/test/
test_helper.rb:1
from /opt/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /opt/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /opt/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/
active_support/dependencies.rb:158:in `require'
from /Users/alan/git/adva_development/vendor/plugins/adva_cells/test/
integration/article_with_contact_mailer_test.rb:1
from /opt/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /opt/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /opt/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/
active_support/dependencies.rb:158:in `require'
from ./vendor/adva/script/test:46:in `run'
from ./vendor/adva/script/test:46:in `each'
from ./vendor/adva/script/test:46:in `run'
from ./vendor/adva/script/test:53
from script/test-adva-cms:3:in `load'
from script/test-adva-cms:3
ruby script/test-adva-cms vendor/plugins/adva_cms
Which emitted a test run with warning and ended with...
1) Error:
test_categories_are_not_selectable_in_single_article_mode
(IntegrationTests::AdminSectionArticleTest):
NoMethodError: undefined method `stubs' for #<Class:0x2333dec>
activerecord (2.3.3) lib/active_record/base.rb:1959:in
`method_missing_without_paginate'
vendor/plugins/adva_cms/vendor/plugins/will_paginate/lib/
will_paginate/finder.rb:167:in `method_missing'
vendor/plugins/adva_cms/test/integration/admin/
section_article_test.rb:87:in `section_in_single_article_mode'
vendor/plugins/adva_cms/test/integration/admin/
section_article_test.rb:36:in
`test_categories_are_not_selectable_in_single_article_mode'
activesupport (2.3.3) lib/active_support/testing/
setup_and_teardown.rb:62:in `__send__'
activesupport (2.3.3) lib/active_support/testing/
setup_and_teardown.rb:62:in `run'
actionpack (2.3.3) lib/action_controller/integration.rb:645:in
`run'
2) Error:
test_categories_are_selectable_in_multi_article_mode
(IntegrationTests::AdminSectionArticleTest):
NoMethodError: undefined method `stubs' for #<Class:0x2333dec>
activerecord (2.3.3) lib/active_record/base.rb:1959:in
`method_missing_without_paginate'
vendor/plugins/adva_cms/vendor/plugins/will_paginate/lib/
will_paginate/finder.rb:167:in `method_missing'
vendor/plugins/adva_cms/test/integration/admin/
section_article_test.rb:94:in `section_in_multi_article_mode'
vendor/plugins/adva_cms/test/integration/admin/
section_article_test.rb:43:in
`test_categories_are_selectable_in_multi_article_mode'
activesupport (2.3.3) lib/active_support/testing/
setup_and_teardown.rb:62:in `__send__'
activesupport (2.3.3) lib/active_support/testing/
setup_and_teardown.rb:62:in `run'
actionpack (2.3.3) lib/action_controller/integration.rb:645:in
`run'
3) Error:
test_#content_status_returns_span_with_pending_title_and_alt_if_passed_object_is_not_published
(LinkToContentHelperTest):
NoMethodError: undefined method `stubs' for #<Article:0x6f64fcc>
activerecord (2.3.3) lib/active_record/attribute_methods.rb:260:in
`method_missing'
vendor/plugins/adva_cms/test/unit/helpers/content_helper_test.rb:
63:in
`test_#content_status_returns_span_with_pending_title_and_alt_if_passed_object_is_not_published'
activesupport (2.3.3) lib/active_support/testing/
setup_and_teardown.rb:62:in `__send__'
activesupport (2.3.3) lib/active_support/testing/
setup_and_teardown.rb:62:in `run'
513 tests, 1209 assertions, 0 failures, 3 errors
Alan