Sha256: 01b9e3f1043cab0a74fbdfe48ba305960f5d5dd0ce11815587de0080bce19195

Contents?: true

Size: 501 Bytes

Versions: 316

Compression:

Stored size: 501 Bytes

Contents

require "bundler/cli"
require "bundler/cli/common"
require "appsignal/cli/diagnose/paths"

describe Appsignal::CLI::Diagnose::Paths do
  describe "#paths" do
    before { Appsignal.config = project_fixture_config }

    it "returns gem installation path as package_install_path" do
      expect(described_class.new.paths[:package_install_path]).to eq(
        :label => "AppSignal gem path",
        :path => Bundler::CLI::Common.select_spec("appsignal").full_gem_path.strip
      )
    end
  end
end

Version data entries

316 entries across 316 versions & 1 rubygems

Version Path
appsignal-3.11.0-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.11.0 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.10.0-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.10.0 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.9.3-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.9.3 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.9.2-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.9.2 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.9.1-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.9.1 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.9.0-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.9.0 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.8.1-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.8.1 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.8.0-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.8.0 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.7.6-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.7.6 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.7.2-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.7.2 spec/lib/appsignal/cli/diagnose/paths_spec.rb