aboutsummaryrefslogtreecommitdiff
path: root/test/test_pathname.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2011-05-11 22:08:12 -0500
committerJoshua Peek <josh@joshpeek.com>2011-05-11 22:08:12 -0500
commit39bd49950e56859bed57af1ae43cc205a4458e60 (patch)
tree455724d80d40abb84d58579515acb7f0555b2f32 /test/test_pathname.rb
parentb424c32bb4f29e156d38d0828533f0d2d208bc22 (diff)
Add Blob
Diffstat (limited to 'test/test_pathname.rb')
-rw-r--r--test/test_pathname.rb30
1 files changed, 15 insertions, 15 deletions
diff --git a/test/test_pathname.rb b/test/test_pathname.rb
index 30817c1..27d2ac0 100644
--- a/test/test_pathname.rb
+++ b/test/test_pathname.rb
@@ -64,21 +64,21 @@ class TestPathname < Test::Unit::TestCase
assert_equal 'text', Pathname.new("defun.kt").media_type
end
- def test_file
- assert Pathname.new("octocat.png").file?
- assert Pathname.new("linguist.gem").file?
- end
+ # def test_file
+ # assert Pathname.new("octocat.png").file?
+ # assert Pathname.new("linguist.gem").file?
+ # end
- def test_text
- assert Pathname.new("file.txt").text?
- assert Pathname.new("file.json").text?
- end
+ # def test_text
+ # assert Pathname.new("file.txt").text?
+ # assert Pathname.new("file.json").text?
+ # end
- def test_image
- assert Pathname.new("octocat.png").image?
- assert Pathname.new("octocat.jpg").image?
- assert Pathname.new("octocat.jpeg").image?
- assert Pathname.new("octocat.gif").image?
- assert !Pathname.new("octocat.psd").image?
- end
+ # def test_image
+ # assert Pathname.new("octocat.png").image?
+ # assert Pathname.new("octocat.jpg").image?
+ # assert Pathname.new("octocat.jpeg").image?
+ # assert Pathname.new("octocat.gif").image?
+ # assert !Pathname.new("octocat.psd").image?
+ # end
end