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.7.1-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.7.1 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.7.0-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.7.0 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.6.5-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.6.5 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.6.4-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.6.4 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.6.3-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.6.3 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.6.2-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.6.2 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.6.1-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.6.1 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.6.0-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.6.0 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.5.6-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.5.6 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.5.5-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.5.5 spec/lib/appsignal/cli/diagnose/paths_spec.rb