Sha256: 18f82487207eede72951987bd33b1cf1951d2f28c47cd521f576f3706a8af70a

Contents?: true

Size: 644 Bytes

Versions: 13

Compression:

Stored size: 644 Bytes

Contents

require "spec_helper"

describe "CLI", "appraisal version" do
  context "with version subcommand" do
    it "prints out version string" do
      output = run "appraisal version"

      expect(output).to include("Appraisal #{Appraisal::VERSION}")
    end
  end

  context "with -v flag" do
    it "prints out version string" do
      output = run "appraisal -v"

      expect(output).to include("Appraisal #{Appraisal::VERSION}")
    end
  end

  context "with --version flag" do
    it "prints out version string" do
      output = run "appraisal --version"

      expect(output).to include("Appraisal #{Appraisal::VERSION}")
    end
  end
end

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
honeybadger-5.4.0 vendor/bundle/ruby/3.2.0/gems/appraisal-2.5.0/spec/acceptance/cli/version_spec.rb
honeybadger-5.3.0 vendor/bundle/ruby/3.2.0/gems/appraisal-2.5.0/spec/acceptance/cli/version_spec.rb
appraisal-2.5.0 spec/acceptance/cli/version_spec.rb
appraisal-2.4.1 spec/acceptance/cli/version_spec.rb
appraisal-2.4.0 spec/acceptance/cli/version_spec.rb
appraisal-2.3.0 spec/acceptance/cli/version_spec.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/appraisal-2.2.0/spec/acceptance/cli/version_spec.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/appraisal-2.2.0/spec/acceptance/cli/version_spec.rb
appraisal-2.2.0 spec/acceptance/cli/version_spec.rb
appraisal-2.1.0 spec/acceptance/cli/version_spec.rb
appraisal-2.0.2 spec/acceptance/cli/version_spec.rb
appraisal-2.0.1 spec/acceptance/cli/version_spec.rb
appraisal-2.0.0 spec/acceptance/cli/version_spec.rb