aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/support/helper/fixtures.rb
blob: 460fb4aeff053bbcc89d4773747343f9e0e39946 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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

      def cask_path(name)
        Pathname.new("#{TEST_FIXTURE_DIR}/cask/Casks/#{name}.rb")
      end
    end
  end
end