Browse files

Fix for missing dependency in ActionDispatch::Integration

When running cucumber features from a new rails 3 app requiring
'cucumber/rails/world' would raise:

uninitialized constant ActionDispatch::Integration::Session::Test (NameError)

Fixed by requiring 'test/unit/assertions' in action_dispatch/integration

Signed-off-by: Jeremy Kemper <>
  • Loading branch information...
1 parent d9375f3 commit 6c0c0f41a3bad10c3c1acaf3124746f891f9ccbf Mathias Biilmann Christensen committed with jeremy Mar 16, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/lib/action_dispatch/testing/integration.rb
1 actionpack/lib/action_dispatch/testing/integration.rb
@@ -2,6 +2,7 @@
require 'uri'
require 'active_support/core_ext/object/singleton_class'
require 'rack/test'
+require 'test/unit/assertions'
module ActionDispatch
module Integration #:nodoc:

0 comments on commit 6c0c0f4

Please sign in to comment.