Cannot run tests
Reported by Chad Woolley | September 1st, 2008 @ 03:06 PM
Just reporting, sorry I didn't debug:
chadmac:engines woolley$ rake test (in /Users/woolley/workspace/enginestest/vendor/plugins/engines)
Recreating test application Creating test application at /Users/woolley/workspace/enginestest/vendor/plugins/engines/test_app
building rails using the 'rails' command (rails version: 2.1.0) writing database.ymlCopying engines plugin into test application Modifying default config files to load engines plugin Mirroring test application files into /Users/woolley/workspace/enginestest/vendor/plugins/engines/test_app Loading the test application environment and running tests (in /Users/woolley/workspace/enginestest/vendor/plugins/engines/test_app) (in /Users/woolley/workspace/enginestest/vendor/plugins/engines/test_app) /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -Ilib:test "/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake/rake_test_loader.rb" "test/unit/action_mailer_test.rb" "test/unit/arbitrary_code_mixing_test.rb" "test/unit/assets_test.rb" "test/unit/backwards_compat_test.rb" "test/unit/load_path_test.rb" "test/unit/migration_test.rb" "test/unit/model_and_lib_test.rb" "test/unit/plugins_test.rb" "test/unit/testing_test.rb" Loaded suite /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake/rake_test_loader Started ........................Gem::SourceIndex#search support for Regexp patterns is deprecated /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/rails_generator/lookup.rb:211:in
each' is outdated ........ Finished in 0.758445 seconds.
32 tests, 75 assertions, 0 failures, 0 errors
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
-Ilib:test
"/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake/rake_test_loader.rb"
"test/functional/controller_loading_test.rb"
"test/functional/exception_notification_compatibility_test.rb"
"test/functional/routes_test.rb"
"test/functional/view_helpers_test.rb"
"test/functional/view_loading_test.rb"
/Library/Ruby/Gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:492:in
const_missing': uninitialized constant
ExceptionNotificationCompatibilityTest::ExceptionNotifier
(NameError)
from ./test/functional/exception_notification_compatibility_test.rb:4
from /Library/Ruby/Gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:502:in `load'
from /Library/Ruby/Gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:502:in `load'
from /Library/Ruby/Gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:354:in `new_constants_in'
from /Library/Ruby/Gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:502:in `load'
from /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake/rake_test_loader.rb:5
from /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake/rake_test_loader.rb:5:in `each'
from /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake/rake_test_loader.rb:5
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -Ilib:test "/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake/rake_test_loader.rb" Errors running test:functionals! chadmac:engines woolley$
Comments and changes to this ticket
-
James Adam September 13th, 2008 @ 02:27 AM
- → Tag changed from to rake_tasks test
- → State changed from new to resolved
I believe this was caused by not loading the exception_notification plugin. I've fixed this in the master (http://github.com/lazyatom/engin...>
Let me know if this doesn't solve the issue for you...
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
The rails engines plugin itself
