Permalink
Browse files

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
  • Loading branch information...
1 parent 7f41a08 commit 610cf9da96726605f6bef7f276bcd7a97f4939e7 @rafaelfranca rafaelfranca committed Sep 27, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 actionpack/test/controller/spec_type_test.rb
  2. +1 −1 actionpack/test/template/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
@@ -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

0 comments on commit 610cf9d

Please sign in to comment.