summaryrefslogtreecommitdiff
path: root/test/rexml/test_rexml_issuezilla.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rexml/test_rexml_issuezilla.rb')
-rw-r--r--test/rexml/test_rexml_issuezilla.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/rexml/test_rexml_issuezilla.rb b/test/rexml/test_rexml_issuezilla.rb
index 59649ae..8098646 100644
--- a/test/rexml/test_rexml_issuezilla.rb
+++ b/test/rexml/test_rexml_issuezilla.rb
@@ -2,15 +2,15 @@ require_relative 'rexml_test_utils'
require 'rexml/document'
module REXMLTests
-class TestIssuezillaParsing < Test::Unit::TestCase
- include REXMLTestUtils
- def test_rexml
- doc = REXML::Document.new(File.new(fixture_path("ofbiz-issues-full-177.xml")))
- ctr = 1
- doc.root.each_element('//issue') do |issue|
- assert_equal( ctr, issue.elements['issue_id'].text.to_i )
- ctr += 1
+ class TestIssuezillaParsing < Test::Unit::TestCase
+ include REXMLTestUtils
+ def test_rexml
+ doc = REXML::Document.new(File.new(fixture_path("ofbiz-issues-full-177.xml")))
+ ctr = 1
+ doc.root.each_element('//issue') do |issue|
+ assert_equal( ctr, issue.elements['issue_id'].text.to_i )
+ ctr += 1
+ end
end
end
end
-end