Sha256: fae97acfbfec2b81cc0c314bfb8d0d99af6eb75515ff438e04f93945b471112f

Contents?: true

Size: 896 Bytes

Versions: 9

Compression:

Stored size: 896 Bytes

Contents

require File.dirname(__FILE__) + '/test_helper.rb'

class TestRecipes < Test::Unit::TestCase
  
  def test_egrep
    # task :test_egrep do  
    #   role :test, "10.0.6.118", :user => "root"
    # 
    #   found = utils.egrep("^mail.\\*", "/etc/syslog.conf")
    #   puts "Found? #{found}"
    # 
    #   found = utils.egrep("^fooo", "/etc/syslog.conf")
    #   puts "Found? #{found}"
    # end    
    assert true
  end
  
  def test_app
    # task :test_app do  
    #   set :application, "sick"
    #   set :deploy_to, "/var/www/apps/sick"
    #   role :web, "10.0.6.118", :user => "root"
    #   role :app, "10.0.6.118", :user => "root"
    # end
    assert true
  end

  def test_install
    # task :test_install do
    #   load File.dirname(__FILE__) + "/lib/deployment/centos-5.1-64-web/install.rb"
    #   role :test, "10.0.6.118", :user => "root"
    # end
    assert true
  end
  
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
calas-capitate-0.3.6 test/test_recipes.rb
capitate-0.2.14 test/test_recipes.rb
capitate-0.2.15 test/test_recipes.rb
capitate-0.3.4 test/test_recipes.rb
capitate-0.3.1 test/test_recipes.rb
capitate-0.3.6 test/test_recipes.rb
capitate-0.3.5 test/test_recipes.rb
capitate-0.3.2 test/test_recipes.rb
capitate-0.3.3 test/test_recipes.rb