2019-04-19 15:38:03 +09:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-02-21 04:52:53 +01:00
|
|
|
module Test
|
|
|
|
module Helper
|
|
|
|
module Fixtures
|
|
|
|
def dylib_path(name)
|
|
|
|
Pathname.new("#{TEST_FIXTURE_DIR}/mach/#{name}.dylib")
|
|
|
|
end
|
|
|
|
|
|
|
|
def bundle_path(name)
|
|
|
|
Pathname.new("#{TEST_FIXTURE_DIR}/mach/#{name}.bundle")
|
|
|
|
end
|
2017-10-07 15:58:49 +02:00
|
|
|
|
|
|
|
def cask_path(name)
|
|
|
|
Pathname.new("#{TEST_FIXTURE_DIR}/cask/Casks/#{name}.rb")
|
|
|
|
end
|
2017-02-21 04:52:53 +01:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|