Sha256: 9a38dc88721b5076f5a8e926144b3b72903b42607b28c26a65c55d1df4410491

Contents?: true

Size: 297 Bytes

Versions: 3

Compression:

Stored size: 297 Bytes

Contents

require "lib/roxml"
require "test/unit"
require 'test/mocks/mocks'
require 'test/mocks/dictionaries'

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

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
Empact-roxml-2.0 test/test_helper.rb
Empact-roxml-2.1 test/test_helper.rb
Empact-roxml-2.2 test/test_helper.rb