Sha256: 90ee102d8cd08654a7eeb4ff61529885326789ad716faaa9c40d48e3257a5e9d

Contents?: true

Size: 336 Bytes

Versions: 14

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

14 entries across 14 versions & 1 rubygems

Version Path
omnibus-7.0.13 spec/support/path_helpers.rb
omnibus-7.0.12 spec/support/path_helpers.rb
omnibus-6.1.9 spec/support/path_helpers.rb
omnibus-6.1.7 spec/support/path_helpers.rb
omnibus-6.1.4 spec/support/path_helpers.rb
omnibus-6.0.30 spec/support/path_helpers.rb
omnibus-6.0.25 spec/support/path_helpers.rb
omnibus-6.0.24 spec/support/path_helpers.rb
omnibus-6.0.1 spec/support/path_helpers.rb
omnibus-5.6.8 spec/support/path_helpers.rb
omnibus-5.6.6 spec/support/path_helpers.rb
omnibus-5.6.1 spec/support/path_helpers.rb
omnibus-5.6.0 spec/support/path_helpers.rb
omnibus-5.5.0 spec/support/path_helpers.rb