Skip to content

Commit

Permalink
ci: ensure all tests are running setup
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Jan 5, 2021
1 parent 007662f commit b682ac5
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/namespaces/test_namespaces_preservation.rb
Expand Up @@ -5,6 +5,7 @@ module XML
class TestNamespacePreservation < Nokogiri::TestCase

def setup
super
@xml = Nokogiri.XML <<-eoxml
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element xmlns:quer="http://api.geotrust.com/webtrust/query"/>
Expand Down
1 change: 1 addition & 0 deletions test/test_xslt_transforms.rb
Expand Up @@ -2,6 +2,7 @@

class TestXsltTransforms < Nokogiri::TestCase
def setup
super
@doc = Nokogiri::XML(File.open(XML_FILE))
end

Expand Down
1 change: 1 addition & 0 deletions test/xml/sax/test_parser_context.rb
Expand Up @@ -7,6 +7,7 @@ module XML
module SAX
class TestParserContext < Nokogiri::SAX::TestCase
def setup
super
@xml = '<hello>
world
Expand Down
1 change: 1 addition & 0 deletions test/xml/test_relax_ng.rb
Expand Up @@ -4,6 +4,7 @@ module Nokogiri
module XML
class TestRelaxNG < Nokogiri::TestCase
def setup
super
assert @schema = Nokogiri::XML::RelaxNG(File.read(ADDRESS_SCHEMA_FILE))
end

Expand Down
1 change: 1 addition & 0 deletions test/xml/test_schema.rb
Expand Up @@ -4,6 +4,7 @@ module Nokogiri
module XML
class TestSchema < Nokogiri::TestCase
def setup
super
assert @xsd = Nokogiri::XML::Schema(File.read(PO_SCHEMA_FILE))
end

Expand Down
1 change: 1 addition & 0 deletions test/xml/test_unparented_node.rb
Expand Up @@ -6,6 +6,7 @@ module Nokogiri
module XML
class TestUnparentedNode < Nokogiri::TestCase
def setup
super
begin
xml = Nokogiri::XML.parse(File.read(XML_FILE), XML_FILE)
@node = xml.at('staff')
Expand Down

0 comments on commit b682ac5

Please sign in to comment.