Sha256: 2bb8dc08dbd2e72a96b9ed751a1c300fcb9dc6cc0fdacf8ec97d55f13f027dc1

Contents?: true

Size: 454 Bytes

Versions: 10

Compression:

Stored size: 454 Bytes

Contents

# frozen_string_literal: true
require 'test_helper'

module Shipit
  class CommandsTest < ActiveSupport::TestCase
    def setup
      @commands = Commands.new
    end

    test 'SHIPIT gets added to the environment variables' do
      assert_equal '1', @commands.env['SHIPIT']
    end

    test 'parse_git_version handles rc releases' do
      assert_equal Gem::Version.new('2.8.0'), Commands.parse_git_version('git version 2.8.0.rc3')
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
shipit-engine-0.39.0 test/unit/commands_test.rb
shipit-engine-0.38.0 test/unit/commands_test.rb
shipit-engine-0.37.0 test/unit/commands_test.rb
shipit-engine-0.36.1 test/unit/commands_test.rb
shipit-engine-0.36.0 test/unit/commands_test.rb
shipit-engine-0.35.1 test/unit/commands_test.rb
shipit-engine-0.35.0 test/unit/commands_test.rb
shipit-engine-0.34.0 test/unit/commands_test.rb
shipit-engine-0.33.0 test/unit/commands_test.rb
shipit-engine-0.32.0 test/unit/commands_test.rb