Sha256: 61c42b4bc69d0981808ad00303fc2743db54e7b70bc848f3886e3efaeaadd8aa
Contents?: true
Size: 705 Bytes
Versions: 1
Compression:
Stored size: 705 Bytes
Contents
# Newspaper works modules module NewspaperWorksFixtures require 'newspaper_works_fixtures/engine' require 'newspaper_works_fixtures/version' # returns the full path the the gem installation def self.root @root ||= File.expand_path(File.dirname(File.dirname(__FILE__))) end # returns the full path to the fixture files dir def self.file_fixtures File.join(root, 'spec', 'fixtures', 'files') end # returns the full path to the NDNP sample batch def self.ndnp_chronam_batch File.join(file_fixtures, 'ndnp', 'batch_test_ver01') end # returns the full path to the NDNP local batch def self.ndnp_local_batch File.join(file_fixtures, 'ndnp', 'batch_local') end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
newspaper_works_fixtures-0.1.0 | lib/newspaper_works_fixtures.rb |