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.0.beta.1-java spec/support/helpers/directory_helper.rb
appsignal-4.0.0.beta.1 spec/support/helpers/directory_helper.rb
appsignal-3.13.0-java spec/support/helpers/directory_helper.rb
appsignal-3.13.0 spec/support/helpers/directory_helper.rb
appsignal-3.12.6-java spec/support/helpers/directory_helper.rb
appsignal-3.12.6 spec/support/helpers/directory_helper.rb
appsignal-3.12.5-java spec/support/helpers/directory_helper.rb
appsignal-3.12.5 spec/support/helpers/directory_helper.rb
appsignal-3.12.4-java spec/support/helpers/directory_helper.rb
appsignal-3.12.4 spec/support/helpers/directory_helper.rb
appsignal-3.12.3-java spec/support/helpers/directory_helper.rb
appsignal-3.12.3 spec/support/helpers/directory_helper.rb
appsignal-3.12.2-java spec/support/helpers/directory_helper.rb
appsignal-3.12.2 spec/support/helpers/directory_helper.rb
appsignal-3.12.1-java spec/support/helpers/directory_helper.rb
appsignal-3.12.1 spec/support/helpers/directory_helper.rb
appsignal-3.12.0-java spec/support/helpers/directory_helper.rb
appsignal-3.12.0 spec/support/helpers/directory_helper.rb
appsignal-3.11.0-java spec/support/helpers/directory_helper.rb
appsignal-3.11.0 spec/support/helpers/directory_helper.rb