Skip to content

Commit

Permalink
remove method redefinition warnings
Browse files Browse the repository at this point in the history
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
rafaelfranca committed Sep 27, 2012
1 parent 7f41a08 commit 610cf9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion actionpack/test/controller/spec_type_test.rb
Expand Up @@ -3,7 +3,7 @@
class ApplicationController < ActionController::Base; end class ApplicationController < ActionController::Base; end
class ModelsController < ApplicationController; end class ModelsController < ApplicationController; end


class SpecTypeTest < ActiveSupport::TestCase class ActionControllerSpecTypeTest < ActiveSupport::TestCase
def assert_controller actual def assert_controller actual
assert_equal ActionController::TestCase, actual assert_equal ActionController::TestCase, actual
end end
Expand Down
2 changes: 1 addition & 1 deletion actionpack/test/template/spec_type_test.rb
@@ -1,6 +1,6 @@
require 'abstract_unit' require 'abstract_unit'


class SpecTypeTest < ActiveSupport::TestCase class ActionViewSpecTypeTest < ActiveSupport::TestCase
def assert_view actual def assert_view actual
assert_equal ActionView::TestCase, actual assert_equal ActionView::TestCase, actual
end end
Expand Down

0 comments on commit 610cf9d

Please sign in to comment.