aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/evented_file_update_checker_test.rb
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2019-05-23 15:43:52 -0400
committerGitHub <noreply@github.com>2019-05-23 15:43:52 -0400
commitc968586c2162abbca90b6feb97a9956f9c179c48 (patch)
tree9274b451e7785fdf676457d5884f1e2674a01bdf /activesupport/test/evented_file_update_checker_test.rb
parenta85c372798723b900762c27e62c35689905327aa (diff)
parentf3bb3f1c4e2a879b56c7cd22dcd4ec41da17760b (diff)
downloadrails-c968586c2162abbca90b6feb97a9956f9c179c48.tar.gz
rails-c968586c2162abbca90b6feb97a9956f9c179c48.tar.bz2
rails-c968586c2162abbca90b6feb97a9956f9c179c48.zip
Merge pull request #36337 from jhawthorn/remove_existing_parent
Delete evented_file_update_checker existing_parent
Diffstat (limited to 'activesupport/test/evented_file_update_checker_test.rb')
-rw-r--r--activesupport/test/evented_file_update_checker_test.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/activesupport/test/evented_file_update_checker_test.rb b/activesupport/test/evented_file_update_checker_test.rb
index b2d5eb94c2..a6bd2ade31 100644
--- a/activesupport/test/evented_file_update_checker_test.rb
+++ b/activesupport/test/evented_file_update_checker_test.rb
@@ -156,14 +156,6 @@ class EventedFileUpdateCheckerPathHelperTest < ActiveSupport::TestCase
assert_nil @ph.longest_common_subpath([])
end
- test "#existing_parent returns the most specific existing ascendant" do
- wd = Pathname.getwd
-
- assert_equal wd, @ph.existing_parent(wd)
- assert_equal wd, @ph.existing_parent(wd.join("non-existing/directory"))
- assert_equal pn("/"), @ph.existing_parent(pn("/non-existing/directory"))
- end
-
test "#filter_out_descendants returns the same collection if there are no descendants (empty)" do
assert_equal [], @ph.filter_out_descendants([])
end