test/unit/peddler/test_xml_parser.rb in peddler-0.8.0 vs test/unit/peddler/test_xml_parser.rb in peddler-0.9.0
- old
+ new
@@ -1,8 +1,8 @@
-require 'helper'
+require 'test_helper'
require 'peddler/xml_parser'
-class PeddlerXMLParserTest < MiniTest::Test
+class TestPeddlerXMLParser < MiniTest::Test
def setup
body = '<Response><Result><NextToken>123</NextToken><Foo>Bar</Foo></Result></Response>'
res = OpenStruct.new(body: body, headers: { 'Content-Type' => 'text/xml', 'Content-Length' => '78'})
@parser = Peddler::XMLParser.new(res)