Sha256: 13858947437433e9d4de399020d5d1d8e5b77613e8981026ddeb53739a9668d0

Contents?: true

Size: 600 Bytes

Versions: 4

Compression:

Stored size: 600 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", RSCM::Change::MODIFIED, "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

4 entries across 4 versions & 1 rubygems

Version Path
damagecontrol-0.5.0.1393 test/damagecontrol/scm_web_test.rb
damagecontrol-0.5.0.1391 test/damagecontrol/scm_web_test.rb
damagecontrol-0.5.0.1392 test/damagecontrol/scm_web_test.rb
damagecontrol-0.5.0.1404 test/damagecontrol/scm_web_test.rb