remove MockResponse #518

Merged
merged 1 commit into from Mar 17, 2012
@@ -1,14 +0,0 @@
-class MockResponse
-
- def initialize(test_case)
- @test_case = test_case
- end
-
- def content_type
- 'text/html'
- end
-
- def body
- @test_case.send :output_buffer
- end
-end
View
@@ -39,17 +39,12 @@ class ActionView::TestCase
include SimpleForm::ActionViewExtensions::FormHelper
setup :set_controller
- setup :set_response
setup :setup_new_user
def set_controller
@controller = MockController.new
end
- def set_response
- @response = MockResponse.new(self)
- end
-
def setup_new_user(options={})
@user = User.new({
:id => 1,