Browse files

Moving empty file for tests into the assets directory.

  • Loading branch information...
1 parent dd1dd11 commit c840deece01df124a076f27d7cad81dc3e2dd990 @flavorjones flavorjones committed Mar 11, 2013
Showing with 1 addition and 3 deletions.
  1. +0 −1 .gitignore
  2. 0 test/files/bogus.xml
  3. +1 −2 test/html/sax/test_parser.rb
View
1 .gitignore
@@ -32,4 +32,3 @@ test/*_mini.rb
test/test_jruby_footer.rb
test/test_jruby_header.rb
tmp
-bogus.xml
View
0 test/files/bogus.xml
No changes.
View
3 test/html/sax/test_parser.rb
@@ -17,8 +17,7 @@ def test_parse_empty_document
def test_parse_empty_file
# Make sure empty files don't break stuff
- empty_file_name = File.join(Dir.tmpdir, 'bogus.xml')
- FileUtils.touch empty_file_name
+ empty_file_name = File.join(ASSETS_DIR, 'bogus.xml')
# assert_nothing_raised do
@parser.parse_file empty_file_name
# end

0 comments on commit c840dee

Please sign in to comment.