Sha256: d74befc7699e0f279d60420bc4fb29797cf0362618fd532338e00965d3837e74
Contents?: true
Size: 758 Bytes
Versions: 96
Compression:
Stored size: 758 Bytes
Contents
require "utils" require 'capistrano/recipes/deploy/scm/accurev' class AccurevTest < Test::Unit::TestCase include Capistrano::Deploy::SCM def test_internal_revision_to_s assert_equal 'foo/1', Accurev::InternalRevision.new('foo', 1).to_s assert_equal 'foo/highest', Accurev::InternalRevision.new('foo', 'highest').to_s end def test_internal_revision_parse revision = Accurev::InternalRevision.parse('foo') assert_equal 'foo', revision.stream assert_equal 'highest', revision.transaction_id assert_equal 'foo/highest', revision.to_s revision = Accurev::InternalRevision.parse('foo/1') assert_equal 'foo', revision.stream assert_equal '1', revision.transaction_id assert_equal 'foo/1', revision.to_s end end
Version data entries
96 entries across 96 versions & 11 rubygems