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-3.10.0-java spec/support/helpers/directory_helper.rb
appsignal-3.10.0 spec/support/helpers/directory_helper.rb
appsignal-3.9.3-java spec/support/helpers/directory_helper.rb
appsignal-3.9.3 spec/support/helpers/directory_helper.rb
appsignal-3.9.2-java spec/support/helpers/directory_helper.rb
appsignal-3.9.2 spec/support/helpers/directory_helper.rb
appsignal-3.9.1-java spec/support/helpers/directory_helper.rb
appsignal-3.9.1 spec/support/helpers/directory_helper.rb
appsignal-3.9.0-java spec/support/helpers/directory_helper.rb
appsignal-3.9.0 spec/support/helpers/directory_helper.rb
appsignal-3.8.1-java spec/support/helpers/directory_helper.rb
appsignal-3.8.1 spec/support/helpers/directory_helper.rb
appsignal-3.8.0-java spec/support/helpers/directory_helper.rb
appsignal-3.8.0 spec/support/helpers/directory_helper.rb
appsignal-3.7.6-java spec/support/helpers/directory_helper.rb
appsignal-3.7.6 spec/support/helpers/directory_helper.rb
appsignal-3.7.2-java spec/support/helpers/directory_helper.rb
appsignal-3.7.2 spec/support/helpers/directory_helper.rb
appsignal-3.7.1-java spec/support/helpers/directory_helper.rb
appsignal-3.7.1 spec/support/helpers/directory_helper.rb