Skip to content

Commit

Permalink
Duplicated method in the test helper
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Aug 13, 2014
1 parent bc116a5 commit fe873df
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions activesupport/test/dependencies_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -990,11 +990,4 @@ def test_unhook
ensure
ActiveSupport::Dependencies.hook!
end

private
def remove_constants(*constants)
constants.each do |constant|
Object.send(:remove_const, constant) if Object.const_defined?(constant)
end
end
end

0 comments on commit fe873df

Please sign in to comment.