Sha256: cc11766bb1ea37ee7a85be43c1d0713a4a545c392e5a5174d02cc5594783d24d

Contents?: true

Size: 277 Bytes

Versions: 2

Compression:

Stored size: 277 Bytes

Contents

require "lib/roxml"
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

2 entries across 2 versions & 1 rubygems

Version Path
Empact-roxml-2.3.0 test/test_helper.rb
Empact-roxml-2.3.1 test/test_helper.rb