From 610cf9da96726605f6bef7f276bcd7a97f4939e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Thu, 27 Sep 2012 18:44:00 -0300 Subject: [PATCH] remove method redefinition warnings actionpack/test/template/spec_type_test.rb:32: warning: method redefined; discarding old test_spec_type_wont_match_non_space_characters actionpack/test/controller/spec_type_test.rb:30: warning: previous definition of test_spec_type_wont_match_non_space_characters was here --- actionpack/test/controller/spec_type_test.rb | 2 +- actionpack/test/template/spec_type_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/actionpack/test/controller/spec_type_test.rb b/actionpack/test/controller/spec_type_test.rb index caeb0fd4dd3ab..13be8a3405132 100644 --- a/actionpack/test/controller/spec_type_test.rb +++ b/actionpack/test/controller/spec_type_test.rb @@ -3,7 +3,7 @@ class ApplicationController < ActionController::Base; end class ModelsController < ApplicationController; end -class SpecTypeTest < ActiveSupport::TestCase +class ActionControllerSpecTypeTest < ActiveSupport::TestCase def assert_controller actual assert_equal ActionController::TestCase, actual end diff --git a/actionpack/test/template/spec_type_test.rb b/actionpack/test/template/spec_type_test.rb index b35985d5f9c87..08a7bdf81d467 100644 --- a/actionpack/test/template/spec_type_test.rb +++ b/actionpack/test/template/spec_type_test.rb @@ -1,6 +1,6 @@ require 'abstract_unit' -class SpecTypeTest < ActiveSupport::TestCase +class ActionViewSpecTypeTest < ActiveSupport::TestCase def assert_view actual assert_equal ActionView::TestCase, actual end