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-2.9.11 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-2.9.11-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-2.9.10 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-2.9.10-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-2.9.9-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-2.9.9 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-2.9.8-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-2.9.8 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-2.9.7-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-2.9.7 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-2.9.6-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-2.9.6 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-2.9.5 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-2.9.5-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-2.9.4 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-2.9.4-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-2.9.3 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-2.9.3-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-2.9.2 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-2.9.2-java spec/lib/appsignal/cli/diagnose/paths_spec.rb