Permalink
Browse files

Get modules back into integration tests

  • Loading branch information...
1 parent 6c0c0f4 commit 0e15f07b75d04ddc349a93ad7fdfcbc502ef535d Carlhuda committed Mar 18, 2010
@@ -1,5 +1,4 @@
require 'rack/session/abstract/id'
-require 'action_view/test_case'
module ActionController
module TemplateAssertions
@@ -288,6 +288,8 @@ def process(method, path, parameters = nil, rack_environment = nil)
end
module Runner
+ include ActionDispatch::Assertions
+
def app
@app
end
@@ -455,6 +457,7 @@ def method_missing(sym, *args, &block)
# end
class IntegrationTest < ActiveSupport::TestCase
include Integration::Runner
+ include ActionController::TemplateAssertions
@@app = nil

0 comments on commit 0e15f07

Please sign in to comment.