This project is archived and is in readonly mode.
ActionController::Integration::Session is missing Test::Unit::Assertions
-
Andrew Vit
- Tag changed from assertions, integration_test, regression, testing to assertions, dependencies, gems, testing
I'm pretty sure the patch I attached is totally naïve. I just looked at the commit log and I see there's a recent change to use autoloading instead of explicit requires...
For the record, here's what the stack says:
uninitialized constant Test::Unit::Assertions /Users/andrew/Sites/edge230/vendor/rails/activesupport/lib/active_support/dependencies.rb:437:in `load_missing_constant' /Users/andrew/Sites/edge230/vendor/rails/activesupport/lib/active_support/dependencies.rb:77:in `const_missing' /Users/andrew/Sites/edge230/vendor/rails/actionpack/lib/action_controller/integration.rb:14 /Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.0.5/lib/shoulda/controller.rb:22 /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' /Users/andrew/Sites/edge230/vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in `require' /Users/andrew/Sites/edge230/vendor/rails/activesupport/lib/active_support/dependencies.rb:516:in `new_constants_in' /Users/andrew/Sites/edge230/vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in `require' /Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.0.5/lib/shoulda/rails.rb:6 /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' /Users/andrew/Sites/edge230/vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in `require' /Users/andrew/Sites/edge230/vendor/rails/activesupport/lib/active_support/dependencies.rb:516:in `new_constants_in' /Users/andrew/Sites/edge230/vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in `require' /Users/andrew/Sites/edge230/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:94:in `load' /Users/andrew/Sites/edge230/config/../vendor/rails/railties/lib/initializer.rb:300:in `load_gems'
