Sha256: fc723164aee140e4eb8d42d4395209222158ba51d9934fb3599facd1e77d25f9

Contents?: true

Size: 576 Bytes

Versions: 1

Compression:

Stored size: 576 Bytes

Contents

require 'yaml'
require 'test/unit'
require 'rscm/changes'
require 'damagecontrol/scm_web'

module DamageControl
  module SCMWeb

    class SCMWebTest < Test::Unit::TestCase
    
      def setup
        @change = RSCM::Change.new("path/one", "aslak", "Fixed CATCH-22", "2.4", Time.utc(2004,7,5,12,0,2))
      end

      def test_view_cvs
        view_cvs = ViewCVS.new("http://cvs.damagecontrol.codehaus.org/")
        assert_equal("http://cvs.damagecontrol.codehaus.org/path/one?rev=2.4&r=2.4", view_cvs.change_url(@change))
      end
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
damagecontrol-0.5.0 test/damagecontrol/scm_web_test.rb