Sha256: d27064d8dc48ab7f348f88a6650b97f7fed91bd9bd72f7cef73cd1579f678f82
Contents?: true
Size: 573 Bytes
Versions: 1
Compression:
Stored size: 573 Bytes
Contents
$:.unshift File.join(File.dirname(__FILE__), "..", "..", "lib") require 'test/unit' require 'buildmaster' require 'mock' module BuildMaster class ReleaseTest < Test::Unit::TestCase def testRelease cvs_mock = Mock.new(CvsClient) cvs_mock.expects(:checkout) cvs_mock.expects(:tag) cvs_mock.expects(:commit) builder_mock = Mock.new builder_mock.expects(:build) release = Release.new(cvs_mock, builder_mock) release.release_candidate('tag') cvs_mock.verify builder_mock.verify end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
BuildMaster-0.6.0 | test/buildmaster/tc_release_control.rb |