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.4.2-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.4.2 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.4.1-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.4.1 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.4.0-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.4.0 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.3.10-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.3.10 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.3.9-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.3.9 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.3.8-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.3.8 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.3.7-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.3.7 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.3.6-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.3.6 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.3.5-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.3.5 spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.3.4-java spec/lib/appsignal/cli/diagnose/paths_spec.rb
appsignal-3.3.4 spec/lib/appsignal/cli/diagnose/paths_spec.rb