Sha256: c24d2dc7df3a1e3cbf8b6b6a52d796225ddcdf88424f4270589dbc873e0a55b9

Contents?: true

Size: 480 Bytes

Versions: 433

Compression:

Stored size: 480 Bytes

Contents

module DirectoryHelper
  module_function

  def project_dir
    @project_dir ||= File.expand_path("..", spec_dir)
  end

  def spec_dir
    APPSIGNAL_SPEC_DIR
  end

  def support_dir
    @support_dir ||= File.join(spec_dir, "support")
  end

  def tmp_dir
    @tmp_dir ||= File.join(spec_dir, "tmp")
  end

  def fixtures_dir
    @fixtures_dir ||= File.join(support_dir, "fixtures")
  end

  def resources_dir
    @resources_dir ||= File.join(project_dir, "resources")
  end
end

Version data entries

433 entries across 433 versions & 1 rubygems

Version Path
appsignal-4.0.6-java spec/support/helpers/directory_helper.rb
appsignal-4.0.6 spec/support/helpers/directory_helper.rb
appsignal-4.0.5-java spec/support/helpers/directory_helper.rb
appsignal-4.0.5 spec/support/helpers/directory_helper.rb
appsignal-4.0.4-java spec/support/helpers/directory_helper.rb
appsignal-4.0.4 spec/support/helpers/directory_helper.rb
appsignal-4.0.3-java spec/support/helpers/directory_helper.rb
appsignal-4.0.3 spec/support/helpers/directory_helper.rb
appsignal-4.0.2-java spec/support/helpers/directory_helper.rb
appsignal-4.0.2 spec/support/helpers/directory_helper.rb
appsignal-4.0.1-java spec/support/helpers/directory_helper.rb
appsignal-4.0.1 spec/support/helpers/directory_helper.rb
appsignal-4.0.0-java spec/support/helpers/directory_helper.rb
appsignal-4.0.0 spec/support/helpers/directory_helper.rb
appsignal-3.13.1-java spec/support/helpers/directory_helper.rb
appsignal-3.13.1 spec/support/helpers/directory_helper.rb
appsignal-3.13.1.alpha.1-java spec/support/helpers/directory_helper.rb
appsignal-3.13.1.alpha.1 spec/support/helpers/directory_helper.rb
appsignal-4.0.0.beta.2-java spec/support/helpers/directory_helper.rb
appsignal-4.0.0.beta.2 spec/support/helpers/directory_helper.rb