Sha256: ce2235e1f87d6d59ba04b24d836f57791e2c4ba63887369e3b53d8c3a63a7137
Contents?: true
Size: 724 Bytes
Versions: 15
Compression:
Stored size: 724 Bytes
Contents
require 'test/unit' require 'rscm/path_converter' require 'rscm' require 'rscm/generic_scm_tests' module RSCM class Cvs # Convenience factory method used in testing def Cvs.local(cvsroot_dir, mod) cvsroot_dir = PathConverter.filepath_to_nativepath(cvsroot_dir, true) Cvs.new(":local:#{cvsroot_dir}", mod) end end class CvsTest < Test::Unit::TestCase include GenericSCMTests include ApplyLabelTest def create_scm(repository_root_dir, path) Cvs.local(repository_root_dir, path) end def test_should_fail_on_bad_command assert_raise(RuntimeError) do Cvs.new("").create_central end end end end
Version data entries
15 entries across 15 versions & 1 rubygems