1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00
capistrano/test/utils.rb
2007-02-28 19:13:13 +00:00

17 lines
No EOL
354 B
Ruby

unless defined?(TestExtensions)
$:.unshift "#{File.dirname(__FILE__)}/../lib"
require 'test/unit'
require 'mocha'
require 'capistrano/server_definition'
module TestExtensions
def server(host, options={})
Capistrano::ServerDefinition.new(host, options)
end
end
class Test::Unit::TestCase
include TestExtensions
end
end