Sha256: 5fc52eeaec91f825c764e1e9a9b3db12ad341ed68cedb3c7aec7f14c1b8016b0

Contents?: true

Size: 336 Bytes

Versions: 10

Compression:

Stored size: 336 Bytes

Contents

module Omnibus
  module RSpec
    module PathHelpers
      def fixture_path(*pieces)
        File.join(fixtures_path, *pieces)
      end

      def tmp_path
        File.expand_path('../../tmp', __FILE__)
      end

      private

      def fixtures_path
        File.expand_path('../../fixtures', __FILE__)
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
omnibus-5.4.0 spec/support/path_helpers.rb
omnibus-5.3.0 spec/support/path_helpers.rb
omnibus-5.2.0 spec/support/path_helpers.rb
omnibus-5.1.0 spec/support/path_helpers.rb
omnibus-5.0.0 spec/support/path_helpers.rb
omnibus-4.1.0 spec/support/path_helpers.rb
omnibus-4.0.0 spec/support/path_helpers.rb
omnibus-4.0.0.rc.2 spec/support/path_helpers.rb
omnibus-4.0.0.rc.1 spec/support/path_helpers.rb
omnibus-4.0.0.beta.1 spec/support/path_helpers.rb