From 7bcfff4457d98afca43b72c5ecb083fb6cab0a93 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Sat, 28 Mar 2009 23:56:14 -0700 Subject: Explicit test dependencies --- activesupport/test/core_ext/pathname_test.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activesupport/test/core_ext/pathname_test.rb') diff --git a/activesupport/test/core_ext/pathname_test.rb b/activesupport/test/core_ext/pathname_test.rb index d17e8bb255..01de67251b 100644 --- a/activesupport/test/core_ext/pathname_test.rb +++ b/activesupport/test/core_ext/pathname_test.rb @@ -1,4 +1,5 @@ require 'abstract_unit' +require 'active_support/core_ext/pathname' class TestPathname < Test::Unit::TestCase def test_clean_within -- cgit v1.2.3 From bd84b820188daed991756531071137dc7e0876a0 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Fri, 17 Apr 2009 21:49:57 -0700 Subject: Eliminate Pathname extensions --- activesupport/test/core_ext/pathname_test.rb | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 activesupport/test/core_ext/pathname_test.rb (limited to 'activesupport/test/core_ext/pathname_test.rb') diff --git a/activesupport/test/core_ext/pathname_test.rb b/activesupport/test/core_ext/pathname_test.rb deleted file mode 100644 index 01de67251b..0000000000 --- a/activesupport/test/core_ext/pathname_test.rb +++ /dev/null @@ -1,10 +0,0 @@ -require 'abstract_unit' -require 'active_support/core_ext/pathname' - -class TestPathname < Test::Unit::TestCase - def test_clean_within - assert_equal "Hi", Pathname.clean_within("Hi") - assert_equal "Hi", Pathname.clean_within("Hi/a/b/../..") - assert_equal "Hello\nWorld", Pathname.clean_within("Hello/a/b/../..\na/b/../../World/c/..") - end -end -- cgit v1.2.3