Sha256: 78e2843f140f36f9f6b945455f87e8d3f6ec8b2750ea9df7355a0d39f939b82f
Contents?: true
Size: 604 Bytes
Versions: 1
Compression:
Stored size: 604 Bytes
Contents
$:.unshift File.join(File.dirname(__FILE__), "..", "..", '..', "lib", "buildmaster") require 'spec' require 'project' require 'cotta' module BuildMaster describe AntDriver do before do cotta = Cotta.new() build_file = cotta.file(__FILE__).parent.file('build.xml') @ant = AntDriver.from_file(build_file) end it 'run' do @ant.project_help end it 'pass' do @ant.target('passing') end it 'dynamic_method' do @ant.passing end it 'fail' do lambda {@ant.target('failing')}.should raise_error(CommandError) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
BuildMaster-1.1.9 | test/buildmaster/project/tc_ant_driver.rb |