Sha256: bc16b1ac06d3e7ffc32de436a4f5a63760e076af524b721cd2cc39c384934402
Contents?: true
Size: 330 Bytes
Versions: 2
Compression:
Stored size: 330 Bytes
Contents
module Fixture def self.[](name) fixtures[name] end def self.[]=(name, value) fixtures[name] = value end def self.fixtures @fixtures ||= {} end def fixture(file, ext = :wsdl) filename = "#{file}.#{ext}" Fixture[filename] ||= File.read File.expand_path("spec/fixtures/#{filename}") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
wasabi-2.3.0 | spec/support/fixture.rb |
wasabi-2.2.0 | spec/support/fixture.rb |