Sha256: f00e7236b2e57fcd7f9fce3d83a45d3b7d0214bdc574b0cb474a5d68aafc9c1c

Contents?: true

Size: 188 Bytes

Versions: 12

Compression:

Stored size: 188 Bytes

Contents

def fixture(name)
  File.read(fixture_path(name))
end

def xml_fixture(name)
  ROXML::XML.parse_file(fixture_path(name)).root
end

def fixture_path(name)
  "test/fixtures/#{name}.xml"
end

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
roxml-4.2.0 test/support/fixtures.rb
roxml-4.1.1 test/support/fixtures.rb
roxml-4.1.0 test/support/fixtures.rb
roxml-4.0.0 test/support/fixtures.rb
roxml-3.3.1 test/support/fixtures.rb
roxml-3.3.0 test/support/fixtures.rb
roxml-3.2.2 test/support/fixtures.rb
roxml-3.2.1 test/support/fixtures.rb
roxml-3.2.0 test/support/fixtures.rb
representable-0.0.1.alpha1 test/support/fixtures.rb
roxml-3.1.6 test/support/fixtures.rb
yob-roxml-3.1.6 test/support/fixtures.rb