Permalink
Browse files

Fixing broken tests.

  • Loading branch information...
1 parent 3f33a4c commit 97aacd3c3366869dc22a69ecc4afb16c3b688169 @samuelclay samuelclay committed Aug 3, 2010
Showing with 1 addition and 6 deletions.
  1. +1 −1 test/unit/test_extract_info.rb
  2. +0 −5 test/unit/test_extract_pages.rb
@@ -15,7 +15,7 @@ def test_author
end
def test_date
- assert "2007-11-29" == Docsplit.extract_date('test/fixtures/obama_arts.pdf')
+ assert "Thu Nov 29 14:54:46 2007" == Docsplit.extract_date('test/fixtures/obama_arts.pdf')
end
def test_length
@@ -7,11 +7,6 @@ def test_multi_page_extraction
assert Dir["#{OUTPUT}/*.pdf"].length == 2
end
- def test_page_range_extraction
- Docsplit.extract_pages('test/fixtures/obama_arts.pdf', :pages => 2..2, :output => OUTPUT)
- assert Dir["#{OUTPUT}/*.pdf"] == ["#{OUTPUT}/obama_arts_2.pdf"]
- end
-
def test_single_page_extraction
Docsplit.extract_pages('test/fixtures/encrypted.pdf', :output => OUTPUT)
assert Dir["#{OUTPUT}/*.pdf"].length == 1

0 comments on commit 97aacd3

Please sign in to comment.