Skip to content

Commit

Permalink
Fix tests with Rails 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Jan 23, 2012
1 parent 969b99a commit 663879e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion test/abstract_unit.rb
Expand Up @@ -141,7 +141,6 @@ class ActionDispatch::IntegrationTest < ActiveSupport::TestCase
class ActionController::IntegrationTest < ActiveSupport::TestCase
def self.build_app(routes = nil)
RoutedRackApp.new(routes || ActionDispatch::Routing::RouteSet.new) do |middleware|
middleware.use "ActionDispatch::ShowExceptions"
middleware.use "ActionDispatch::Callbacks"
middleware.use "ActionDispatch::ParamsParser"
middleware.use "ActionDispatch::Cookies"
Expand Down
3 changes: 1 addition & 2 deletions test/test_session_store.rb
Expand Up @@ -216,10 +216,9 @@ def with_test_route_set(options = {})

@app = self.class.build_app(set) do |middleware|
middleware.use ActionDispatch::Session::DalliStore, options
middleware.delete "ActionDispatch::ShowExceptions"
end

yield
end
end
end
end

0 comments on commit 663879e

Please sign in to comment.